Formula Help

levanoj

Active Member
Joined
Oct 25, 2007
Messages
311
I have a simple formula in Cell C1 that goes as follows:

=A1+B1

Where all cells in columns A & B contain numeric values.

What I need is to have the formula tweeked to prompt me with an error message of "Exceeded port availability" if the sum of A & B exceeds the value of 12.

Can anyone advise on how to do this?
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Thanks gents, formula worked. Would there be any way to further tweek and add a "conditional format" where the cell is highlighted in red if this formula is true?

I'm sort of a novice to using conditional formatiing but hoping someone can walk me through it.
 
Upvote 0
Yes. Select C1, Format > Conditional Formatting, click the drop down to select Formula Is and enter the formula

=A1+B1>12

then click the Format button, select a format then OK your way out.
 
Upvote 0

Forum statistics

Threads
1,224,565
Messages
6,179,549
Members
452,927
Latest member
rows and columns

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