Index Formula Help

klatlap

Well-known Member
Joined
Sep 1, 2004
Messages
607
Office Version
  1. 2013
Platform
  1. Windows
i am using a formula similar to this to lookup but if the cell is blank it returns a zero how can i get it to return blank
=IF(INDEX($BS$15:$BS$350,MATCH($AG$4,$BS$15:$BS$350,0)+1,1)="","",INDEX($BS$15:$BS$350,MATCH($AG$4,$BS$15:$BS$350,0)+1,1))
 
If there are no actual zeros in your data, how about dropping the IF and formatting the cell as:


[=0]""
 
Upvote 0

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Ok working now, for some reason i removed the first set of offsets no idea why idid that but this works fine

=IF(INDEX($BS$15:$BS$350,MATCH($AG$4,$BR$15:$BR$350,0)+1,1)="","",INDEX($BS$15:$BS$350,MATCH($AG$4,$BR$15:$BR$350,0)+1,1))
 
Upvote 0
No i just played with what you posted and it works the same if i add the offsets, must be formatting.
Is it possible that the cell contains numeric 0 but you have display of 0 turned off?

In Excel versions 2003 and ealier that setting is located at:

Tools menu>Options>View tab>Zero Values

In Excel 2007 that setting is located at:

Office button>Excel Options>Advanced>Display options for this worksheet>Show a zero in cells that have zero value

Excel 2007 makes you want to :banghead:
 
Upvote 0

Forum statistics

Threads
1,224,575
Messages
6,179,637
Members
452,934
Latest member
Jdsonne31

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