Data Validation?

n.pierce

New Member
Joined
Jan 14, 2009
Messages
3
I'm not an excel expert but I am a fast learner and do enjoy excel
But I'm struggling with this:

I8 has this formula =-(BUDGET!C54) which is the beginning budget amount
I9 has this formula =SUM(I12:I50) which is total of the expenses entered
I10 has this formula =I8-I9 which is the difference between budget and expenses

I want to create a message/warning in for cells I12 through I50 that will warn the user if they are over budget. For example, if they have a balance of $100 in the budget but enter an expense for $105 I want it to alert them of this.

I have tried to validate the cell by allowing data to be entered that is LESS than or EQUAL to the budget amount (I8) but that doesn't work....

I'm not sure if I'm explaining myself very well...I hope so! Any help is GREATLY appreciated!:)
 

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
I think you create a circular reference problem here...you want to validate based on the sum of I12-I50, but the cell you are changing will change the sum of I12-I50....

This could be done with VBA but its probably overkill. What about setting a conditional format in the budget variance (i.e., highlight red when it becomes negative...)?

Alex.
 
Upvote 0
n.pierce

Welcome to the Mrexcel board!

If I have understood correctly, I think you can do this.

Select I12:I50 and in Data Validation in the Allow box choose 'Custom' and enter this formula in the Formula box: =$I$10>=0

While in the Data Validation, on the Error Alert tab put a message like: Gone over budget!
 
Last edited:
Upvote 0
THANK YOU THANK YOU THANK YOU! That works perfect! I knew it couldn't be that difficult but sometimes i make it a bit harder than it is! You made my day!:biggrin:
 
Upvote 0
Glad you were here Peter. I'll have to try this out tonight too so I understand it better.

Alex
 
Upvote 0

Forum statistics

Threads
1,215,491
Messages
6,125,098
Members
449,205
Latest member
ralemanygarcia

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