formula problem

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,603
Office Version
  1. 2021
Platform
  1. Windows
I have code in Col I on the current workbook for eg 'MA147749 and have set up a formula to find out if it exists in Col F o the source workbook


If it exists a 1 is returned , otherwise zero


Code:
 =IF(MATCH(I2,'[Sales Report.xlsm]Imported Data'!$F:$F,0),1,0)


The formula works well, but need it amended so that if the value in Col J on workbook 'Sales Report.xlsm]Imported Data'! pertaining is zero, then is must reflect as "paid", otherwise "not paid"


Kindly amend code
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Try

=IFERROR(IF(VLOOKUP(I2,'[Sales Report.xlsm]Imported Data'!$F:$J,5,0)=0,"paid","not paid"),0)
 
Upvote 0
Thanks for the help. your formula produces the desired result
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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