Stock Status based on quantity typed

Gtasios4

Board Regular
Joined
Apr 21, 2022
Messages
80
Office Version
  1. 2021
Platform
  1. Windows
Hello everyone,

I want to automate my quotation tool, therefore in Col L I have status availability info based on Product Info sheet though IF & VLOOKUP formula.

However, I want to make it dynamic and thus when I type the desired qty in M column I need to get through validation a status availability like "In stock" (if it finds available quantity in my inventory) , "Arriving Soon" and a 3rd status "limited stock"

Any help on how to do that would be much appreciated!

1651232313815.png
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Try

Excel Formula:
=IFERROR(IF(VLOOKUP(A5;PRODUCT_INFO!A:B;2,0)>=N5;"In Stock";IF(VLOOKUP(A5;PRODUCT_INFO!A:B;2;0)>0;"Limited Stock";"Available Soon"));"")
 
Upvote 0
Try

Excel Formula:
=IFERROR(IF(VLOOKUP(A5;PRODUCT_INFO!A:B;2,0)>=N5;"In Stock";IF(VLOOKUP(A5;PRODUCT_INFO!A:B;2;0)>0;"Limited Stock";"Available Soon"));"")
It works perfectly fine! Thank you so much!
 
Upvote 0
Try

Excel Formula:
=IFERROR(IF(VLOOKUP(A5;PRODUCT_INFO!A:B;2,0)>=N5;"In Stock";IF(VLOOKUP(A5;PRODUCT_INFO!A:B;2;0)>0;"Limited Stock";"Available Soon"));"")
How can I change the "Available soon" value by adding "Available & VLOOKUP(A5;PRODUCT_INFO!A:F;6;0) in order to combine the text available with the date to be delivered from product info sheet?
 
Upvote 0
Like
Excel Formula:
=IFERROR(IF(VLOOKUP(A5,PRODUCT_INFO!A:B,2,0)>=N5,"In Stock",IF(VLOOKUP(A5,PRODUCT_INFO!A:B,2,0)>0,"Limited Stock","Available On "&TEXT(VLOOKUP(A5,PRODUCT_INFO!A:F,6,0),"dd/mm/yy"))),"")

You will want to change commas to semi-colons and maybe edit your date format?
 
Upvote 0

Forum statistics

Threads
1,214,625
Messages
6,120,598
Members
448,973
Latest member
ksonnia

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