Cell value = sheetname to pull information from in excel formula
Solved/Closed
Tbonekiller
Posts
17
Registration date
Wednesday 21 August 2019
Status
Member
Last seen
6 June 2024
-
29 Sep 2021 à 12:22
TrowaD Posts 2921 Registration date Sunday 12 September 2010 Status Contributor Last seen 27 December 2022 - 4 Oct 2021 à 11:44
TrowaD Posts 2921 Registration date Sunday 12 September 2010 Status Contributor Last seen 27 December 2022 - 4 Oct 2021 à 11:44
Related:
- Cell value = sheetname to pull information from in excel formula
- How to pull data from one excel sheet to another - Guide
- Formula to calculate vat in excel - Guide
- Number to words in excel formula - Guide
- Excel cell color formula - Guide
- Grade formula in excel marksheet - Guide
3 responses
TrowaD
Posts
2921
Registration date
Sunday 12 September 2010
Status
Contributor
Last seen
27 December 2022
555
30 Sep 2021 à 11:18
30 Sep 2021 à 11:18
Hi Tbonekiller,
Give the following formula a try:
{=MAX(IF(INDIRECT("'"&A26&"'!"&"C6:C3006")=A26,INDIRECT("'"&A26&"'!"&"A6:A3006"),))}
Best regards,
Trowa
Give the following formula a try:
{=MAX(IF(INDIRECT("'"&A26&"'!"&"C6:C3006")=A26,INDIRECT("'"&A26&"'!"&"A6:A3006"),))}
Best regards,
Trowa
Tbonekiller
Posts
17
Registration date
Wednesday 21 August 2019
Status
Member
Last seen
6 June 2024
30 Sep 2021 à 12:14
30 Sep 2021 à 12:14
That's what I had tried and I was getting a #REF error. Didn't know if I was typing something wrong or because my sheets are using numbers (i.e. 9.50, 9.60, 18.15, etc...) if that was causing an issue. OK so it looks like only the numbers ending in 0 are giving the #REF error (9.50, 7.50, 8.50, etc...). As long as it has an actual number (ex. 11.51) then the indirect formula works otherwise I have to specify the sheetname so that it covers that place holder 0.
Any thoughts?
Any thoughts?
TrowaD
Posts
2921
Registration date
Sunday 12 September 2010
Status
Contributor
Last seen
27 December 2022
555
4 Oct 2021 à 11:44
4 Oct 2021 à 11:44
Hi Tbonekiller,
Change the number format of the column containing the sheet references to text by going into the cell properties. That should keep the zero at the end.
Best regards,
Trowa
Change the number format of the column containing the sheet references to text by going into the cell properties. That should keep the zero at the end.
Best regards,
Trowa