Dynamic Excel Hyperlink Excel 2003 - hyperlink

I am attempting to have a hyperlink to:
-Sheet: "Daily Trend"
-Row: 65
-column: column A + the number referenced in cell A2
Thanks!

Try following:
=HYPERLINK(INDIRECT(ADDRESS(65,A2+1,,,"Daily Trend")))

Related

Index & Match function giving duplicated value

Hi, I'm trying to match the names to the numbers.
I got the C7:C11 using the SORT(TRANSPOSE(B3:F3,2,FALSE)
Using INDEX() and MATCH() at B7:B11, I want to get the names that reflect the numbers but its showing me duplicated returns. As there is 2 of "2", the name reflected will show up as "B" twice.
The index and match function I'm using :
=INDEX($B$1:$F$1,MATCH(C7,$B$3:$F$3,0))
I'm fairly new to this so I've no idea how to go about doing this.
Try this way in Google Sheets, it should work,
• Formula used in cell D7
=INDEX(FILTER($B$1:$F$1,C7=$B$3:$F$3),COUNTIF($C$7:C7,C7))
And if you are using in Excel then either of the ways based on Excel Version
• Formula used in cell D7 --> Applicable to Excel 2021/MS365
=INDEX(FILTER($B$1:$F$1,$C7=$B$3:$F$3),COUNTIF($C$7:C7,C7))
• Formula used in cell E7 --> Applicable to All Excel Versions Except Excel 2007
=INDEX($B$1:$F$1,AGGREGATE(15,6,(COLUMN($B$3:$F$3)-COLUMN($B$3)+1)/($C7=$B$3:$F$3),COUNTIF($C$7:C7,C7)))
As an alternative for Excel, version dependent as suggested by JvdV Sir,
=TOCOL(SORTBY(B1:F1,B3:F3))
Or,
=TRANSPOSE(SORTBY(B1:F1,B3:F3))
Or, in Google sheets, with QUERY() Function
=QUERY(TRANSPOSE(B1:F3),"Select Col3, Col1 Order By Col3")

extract URL from another cell to be used in importrange function

I am trying to optimize some spreadsheets I use at work and I have an idea that would save me a good bit of time. I have a formula which extracts a bunch of data from another spreadsheet and organizes it.
What I would like is to have the spreadsheet hyperlinked in cell A2 and then have a formula in B2 which uses importrange while extracting the url from the hyperlinked text in A2. Is this possible?
if A1 is hyperlink / formula try:
=IMPORTRANGE(REGEXEXTRACT(INDEX(SPLIT(FORMULATEXT(A1), " "),,1), """(.*)"""),
"Sheet1!A1")
if A1 is not hyperlinked there were scripts for this but none of them works nowadays
but there is an add-on that can convert non-hyperlinks into hyperlinks:
https://gsuite.google.com/marketplace/app/extract_urls/143780651832

IMPORTDATA function in Google Sheets error

I'm trying to use the IMPORTDATA function in Google Sheets to download stats from baseball-reference.com.
For example, if I want the Team Standard Batting table from:
https://www.baseball-reference.com/leagues/MLB/2020.shtml
I click on the "Share & more" > "Copy Link to Table to Clipboard" to get:
https://www.baseball-reference.com/leagues/MLB/2020.shtml#teams_standard_batting
Then, in A1 of my otherwise empty Google Sheet, I'm inputting:
=IMPORTDATA("https://www.baseball-reference.com/leagues/MLB/2020.shtml#teams_standard_batting")
however, I'm getting #REF with the following error message:
"Result was not automatically expanded, please insert more columns (86)."
IMPORTDATA needs to be almost always restricted
try for starters:
=ARRAY_CONSTRAIN(IMPORTDATA("https://www.baseball-reference.com/leagues/MLB/2020.shtml#teams_standard_batting"); 5000; 20)
this will import you the source code of that site.
update:
try:
=IMPORTHTML("https://www.baseball-reference.com/leagues/MLB/2020.shtml#teams_standard_batting",
"table", 1)
You need to add another 86 columns, like the warning is telling you

Custom Formula Conditional Formatting incorporating 2 spreadsheets

Is it possible to arrange a conditional formatting custom formula based on information input into a different spreadsheet?
For example, I have 1 in A1, 2 in A2 and 3 in A3 on a spreadsheet saved as 'Numbers' and in a worksheet titled 'List' and in a spreadsheet saved as 'Input' I enter 1 in A1 of a worksheet titled 'Entry'. When I enter 1 in the 'Input' spreadsheet I would want cell A1 in the 'Numbers' spreadsheet to become highlighted.
I've had a play around with IMPORTRANGE AND IF formulae but to no avail
try:
=A1=IMPORTRANGE("16nnuzNRx_kGGJm1EBVX7kBT2bfW1-2TYwSiuaLF-Q", "Numbers!A1:A")
that weird number is spreadsheet ID (you can find it in URL between d/ and /edit)
note that both ranges need to be formatted same
a faster alternative would be to use IMORTRANGE to import those values in some column and then just compare those two columns

Extract only the text if column in excel has both number and text

I have below two values in two excel row,
A1 _DC_SUBMISSION_STATUS_REPORT_20141016105520.pdf
A2 _DC_VALID_TRX_20141016105519.pdf
My expect result is
B1 _DC_SUBMISSION_STATUS_REPORT_
B2 _DC_VALID_TRX_
Need a formula for above requirement, Please help
=LEFT(A1,FIND("|",SUBSTITUTE(A1,"_","|", LEN(A1)-LEN(SUBSTITUTE(A1,"_","")))))

Resources