Combining VLOOKUP and IF formula

BobG616

New Member
Joined
Oct 29, 2011
Messages
10
I have two formulae in different cells that I would like to combine into one formula.

=IF(ISNA(VLOOKUP(D25,'PO_RO_Receipts_Detail 1 '!S:S,1,FALSE)),0,(VLOOKUP(D25,'PO_RO_Receipts_Detail 1 '!S:S,1,FALSE)))

and then in the other cell:

=IF(D25=AH25, "Received","Not Received")

My end result is either "Received" or "Not Received"

Can these be combined into one formula?

Thanks.


Bob
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
I have two formulae in different cells that I would like to combine into one formula.

=IF(ISNA(VLOOKUP(D25,'PO_RO_Receipts_Detail 1 '!S:S,1,FALSE)),0,(VLOOKUP(D25,'PO_RO_Receipts_Detail 1 '!S:S,1,FALSE)))

and then in the other cell:

=IF(D25=AH25, "Received","Not Received")

My end result is either "Received" or "Not Received"

Can these be combined into one formula?

Thanks.


Bob
Is the lookup formula in cell AH25?

Maybe something like this...

=IF(COUNTIF('PO_RO_Receipts_Detail 1 '!S:S,D25),"Received","Not Received")
 
Upvote 0
Hi,

this is great it worked for me as well and stopped me having to do a look up :)

Thanks
 
Upvote 0

Forum statistics

Threads
1,222,195
Messages
6,164,509
Members
451,900
Latest member
lamski

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