Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have two cells that add up to a third. I need to validate or do something,
which limits the first two cells' inputs, to where the sum of the two does not equal a decimal. The order in which the two cells will be input is not certain, and so the "validation" must be on both input cells. So what I need is what to apply, and to what cells. I'd like to avoid VB if possible, so am hoping there's a way to do this with validation. Thx. -- Boris |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
That's going to be tuff to do because of the input order being random. I
assume an entry of 10.5 in one cell and 10.5 in the other is OK since the total is an interger? The "easy" way would be to use a formula in the sum cell that pops a message if the sum is not a whole number and tells the user to "adjust" the inputs: Assume the input cells are A1 and A2. =IF(COUNT(A1:A2)<2,"",IF(MOD(SUM(A1:A2),1)0,"Inva lid Sum, Re-enter data",SUM(A1:A2))) Biff "BorisS" wrote in message ... I have two cells that add up to a third. I need to validate or do something, which limits the first two cells' inputs, to where the sum of the two does not equal a decimal. The order in which the two cells will be input is not certain, and so the "validation" must be on both input cells. So what I need is what to apply, and to what cells. I'd like to avoid VB if possible, so am hoping there's a way to do this with validation. Thx. -- Boris |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I align decimals in Excel when not all numbers have % sym. | Excel Discussion (Misc queries) | |||
Displaying a number with different decimals depending on a condition | Excel Worksheet Functions | |||
Desire Sum to add visible figures rather than underlying decimals | Excel Discussion (Misc queries) | |||
Comma format button decimals | Excel Discussion (Misc queries) | |||
How do I calculate without decimals in excel? | Excel Worksheet Functions |