Data Validation Based or using Index Match

komboteam

New Member
Joined
Mar 24, 2020
Messages
7
Office Version
  1. 2016
Platform
  1. Windows
Hello Everyone,
I am working on a project using MS Excel 2021 data is organised as tables and stuck at these two problems as follow:

1. I need a setup the data validation will check the entered quantity in the "Qty" column of the "Invoice Detail" sheet against both the available stock quantity in the "Main" sheet and the quantities already invoiced for the corresponding style number in the "Invoice Detail" sheet. If the quantity exceeds the available stock or the total invoiced quantity, it will trigger a validation error.

2. I want index match to check above cell and see if the 1st matched price against a Style # already existed then skip the 1st matched value and return on 2nd match. With current formula it is returning on 1st value again and again in Sheet Invoice.

I want to perform these tasks through excel formulas, but i possible Macro cannot be considering the solution.
Reference pictures are as follow:
1693991294022.png

1693991359368.png

Thanks, a lot!
 
Last edited:

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Data Validation based on index match
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Here is the link:
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,976
Members
449,095
Latest member
Mr Hughes

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