Lookup

mrjayps

New Member
Joined
Jan 19, 2007
Messages
26
Hi,

I have built a quoting tool in Sheet1 and for each quote, the macro saves all the input / output variables of the quote in a new row. Sheet2, (A:BC), keeping all quotes in numerical oreder.

When I quote on Sheet1, if the input variable match a historical quote, then I would like to be notified by excel on what the previous price and quote no. was.

IE. If Client (Sheet1!C3) = (Sheet2!D:D) and Quantity (Sheet1!C8) = (Sheet2!I:I) then I would like the historical quote number returned from (Sheet2!A:A) as well as the price previously quoted (Sheet2!J:J). If there are two matches, then I would like the row with the higher quote number returned.

Many thanks
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,224,518
Messages
6,179,258
Members
452,901
Latest member
LisaGo

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