If and Match formula problem

gcot

New Member
Joined
Feb 4, 2004
Messages
28
Hi all,

I have a problem that would seem simple enough but I haven't been able to figure it out.

What I want to do is have a formula for each Item code row which represents orders for various items. This formula would check the Max Qty table and apply the max qty if the order qty was over the max otherwise it would keep the original amount. I hope I explained it clearly enough.

Thanks for your help,

Gilles

Item Code Qty
Item A 5
Item B 6
Item C 7
Item D 8


Item Code Max Qty
Item A 5
Item B 5
Item C 5
Item D 5
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Hi,

How about this?
Book1
ABCDE
1ItemCodeQty
2ItemA55
3ItemB65
4ItemC75
5ItemD44
6
7
8ItemCodeMaxQty
9ItemA5
10ItemB5
11ItemC5
12ItemD5
Sheet2
 
Upvote 0
Thanks fairwinds. You've come through for me again. It works.

Have a great day!

Gilles
 
Upvote 0

Forum statistics

Threads
1,216,099
Messages
6,128,822
Members
449,469
Latest member
Kingwi11y

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