Jyggalag

Active Member
Joined
Mar 8, 2021
Messages
445
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi all,

I currently have this formula:

1654670428304.png


The formula is supposed to look at the values for the company (column B) and the topic (column F) and then based on the value in column F, it will look at the sheet with the same name and find the values here:

I likewise have a sheet with the same name as cell F7:

1654670496102.png


Then in this sheet I have my values:

1654670567638.png


I have the company name in cell A7 here and the information I want to pull in can be found in column E.

Even after updating the formula above to E3:E75 (range of values in this sheet):

1654670639608.png



It still does not work and returns a blank cell, even though I do have a value there!

Any idea why? I have used this exact same formula before and it does work in my other sheet. I cannot figure out why :( Please help me!

@Fluff would appreciate you a lot especially :)

Kind regards,

Jyggalag
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
I created a small working sample:
MrExcel_20220608.xlsx
BCDEFG
7Active CompanyAnnual Summary 2022222
Sheet3
Cell Formulas
RangeFormula
G7G7=IF($B7="","",IFERROR(INDEX(INDIRECT("'"&$F7&"'!$B$3:$B$75"),MATCH(1,(INDIRECT("'"&$F7&"'!$A$3:$A$75")=$B7)*(INDIRECT("'"&$F7&"'!$C$3:$C$75")=$F7),0)),""))


MrExcel_20220608.xlsx
ABC
2Company
3Acme111
4Active Company222Annual Summary 2022
5Beta333
6Delta444
Annual Summary 2022

...and there seems to be no issue with the formula. Have you carefully checked the single and double quotes? Alternatively, try my formula since it works in my test. And if that doesn't work, I would investigate where there is a known match to determine if there are extra/unwanted characters that are causing the problem. Perhaps check the length of the text string to determine if it matches a count of the visible characters/spaces.
 
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,141
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top