formula

jasman

Board Regular
Joined
Oct 30, 2010
Messages
141
Hi. I have the below formula which works fine, but when i chnage the formula to include a range of cells to look at then it comes up with VALUE#

formula that works: ==IF('Q:\APC\Programmes\D7a\00_APC\001 - PPFeas Master\[D7a PPFeas Master.xls]Data Sheet'!$E$507=A2,'Q:\APC\Programmes\D7a\00_APC\001 - PPFeas Master\[D7a PPFeas Master.xls]Data Sheet'!$G$507)

formula that doesnt work but i need : =IF(Data Sheet'!$E$5:$E$1314=A2,Data Sheet'!$G$5:$G$1314)
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
That's an array formula so you would need to confirm it with Ctrl+Shift+Enter. But maybe you really want a lookup formula:

=IF(COUNTIF(Data Sheet'!$E$5:$E$1314,A2),VLOOKUP(A2,Data Sheet'!$E$5:$G$1314,3,FALSE),"")
 
Upvote 0
Sorry, missed some single quotes:

=IF(COUNTIF('Data Sheet'!$E$5:$E$1314,A2),VLOOKUP(A2,'Data Sheet'!$E$5:$G$1314,3,FALSE),"")
 
Upvote 0

Forum statistics

Threads
1,224,578
Messages
6,179,654
Members
452,934
Latest member
mm1t1

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