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
 

Some videos you may like

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

fairwinds

MrExcel MVP
Joined
May 15, 2003
Messages
8,638
Hi,

How about this?
Book1
ABCDE
1ItemCodeQty
2ItemA55
3ItemB65
4ItemC75
5ItemD44
6
7
8ItemCodeMaxQty
9ItemA5
10ItemB5
11ItemC5
12ItemD5
Sheet2
 

gcot

New Member
Joined
Feb 4, 2004
Messages
28
Thanks fairwinds. You've come through for me again. It works.

Have a great day!

Gilles
 

Watch MrExcel Video

Forum statistics

Threads
1,122,224
Messages
5,594,916
Members
413,952
Latest member
JGer

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
Top