VLOOKUP in 2 Tabs

TriHard

New Member
Joined
Mar 9, 2017
Messages
9
Hi All,

Hoping you can help with the below. I can't get my head around it but I think there's going to be quite an easy solution-

I currently have a spreadsheet which tracks all of the quotations we do in a year. If the quotation turns into a job, we assign a job number (for which we have another tab in the same spreadsheet). I have added a VLOOKUP formula to automatically add the quote information to a line in the jobs tab which has worked great.

Moving into the new year we are looking to start a new quotes tab solely for 2018 but use the same jobs tab (reason for this is that some of the quotes from 2017 won't become a job until next year so we want them all under 1 tab).

So in a nutshell I currently have the below tabs-

2017, 2018 & JOBS

I use the below VLOOKUP to move any quote from the 2017 tab into the JOBS tab-

=VLOOKUP("01806",'2017'!$A$3:$C$1000,3,FALSE)

My question is-

Can I add the 2018 tab into this formula so that it will look up the job number (in the above example that's "01806") in both the 2017 & 2018 tabs?

Any help really would be appreciated. Cheers
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
One way...

=IFERROR(VLOOKUP("01806",IF(ISNUMBER(MATCH("01806",'2017'!$A$3:$A$1000,0)),'2017'!$A$3:$C$1000,'2018'!$A$3:$C$1000),3,FALSE),"Not found")

M.
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
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