I need help trying to get a false return blank.

Severno

New Member
Joined
Feb 21, 2024
Messages
16
Office Version
  1. 365
Platform
  1. Windows
=INDEX('Master Store List_Final'!$C:$C,MATCH(Sheet1!O6,'Master Store List_Final'!$B:$B,0))

So I finally got this to work because I was so used to using VLOOKUP. The only problem is when the lookup is blank is comes back as N/A. I would like it to come back as as blank by using "". So i figured an IF statement would work but I am having trouble figuring out the IF statement if the above formula is a TRUE and the FALSE would read as ""
 
Well, as far as I can see both post 2 and post 3 do what you want. Here is my new sample data with both the mentioned formulas.
Are they the correct results for my sample data?
If so, but you are not getting the desired results with your data, then please review what I said last time
In that case perhaps we need some sample data (see XL2BB) to determine what is different about your data/setup to ours.

Severno.xlsm
BC
1
2021Store Name 1
3022Store Name 2
4023Store Name 3
Master Store List_Final


Severno.xlsm
O
6021
722
8023
Sheet1


Severno.xlsm
AB
1Post 2Post 3
2Store Name 1Store Name 1
3  
4Store Name 3Store Name 3
Sheet2
Cell Formulas
RangeFormula
A2:A4A2=IFNA(INDEX('Master Store List_Final'!$C:$C,MATCH(Sheet1!O6,'Master Store List_Final'!$B:$B,0)),"")
B2:B4B2=XLOOKUP(Sheet1!O6,'Master Store List_Final'!B:B,'Master Store List_Final'!C:C,"")
 
Upvote 1
Solution

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Well, as far as I can see both post 2 and post 3 do what you want. Here is my new sample data with both the mentioned formulas.
Are they the correct results for my sample data?
Thank you. I ended up using these formulas. I just copied the data I needed and I put them in a new sheet and everything seemed to work fine. Thanks again for your time and knowledge!
 
Last edited by a moderator:
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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