Data validation for inventory warning

RAE123

New Member
Joined
Jun 27, 2017
Messages
4
Hi,

Im trying to create an inventory sheet in excel 2007 and i want a warning message to pop up if cell B29 total is less than 26. I have an auto sum set up already in cell B29 so when it did not work the first time i thought maybe because i cant have 2 formuals in one cell but i also typed 26 into another cell and tried to referrence using that cell.

can anyone offer any advice?
It would be greatly appreciated.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
In C29
change Warning low inventory to what you want displayed. I assumed that if it was equal to or above 26 nothing should be displayed, if you want to display something then replace the "" with what you want displayed for example "over 26 items"
Code:
=IF(B29<26,"Warning low inventory","")
 
Upvote 0
Hello and welcome to the forum.

You wouldn't put the data validation in the cell with a formula in it (B29).

Instead, try highlighting the range of cells that are included in that sum > Data Validation > Allow: Custom > Formula: =SUM(range)>26

Error Alert > Style: Warning
 
Upvote 0
what if i want the actual warning message box to pop up and not just display the warning in that specific cell?
 
Upvote 0
It worked 63falcondude! Ive been working on this spreadsheet for 2 weeks now and couldnt figure that formula out. You just made my day. thanks so much!
 
Upvote 0

Forum statistics

Threads
1,215,778
Messages
6,126,841
Members
449,343
Latest member
DEWS2031

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