The problem with that is that you use relative cell references so while it
will work if D10 has for instance
45% then you can't enter 56% in B10 while if the other way around you can
because in C10 the formula is in fact
=C10+D10<=1
so it should be
=$B$10+$C$10<=1
you might also want to uncheck ignore blank or else you could put anything
in one cell as long as the other is blank
--
Regards,
Peo Sjoblom
Northwest Excel Solutions
www.nwexcelsolutions.com
(remove ^^ from email address)
Portland, Oregon
"JudithJubilee" <JudithJubilee@discussions.microsoft.com> wrote in message
news:3E093B38-2B95-4EB3-960F-20BCC3084B25@microsoft.com...
> Hello KG,
>
> Highlight B10 and C10. Go to Data + Validation. Choose Custom from the
> drop
> down and type the following in the dialogue box:
>
> =B10+C10<=1
>
> You can add a custom error in the Error Alert tab.
>
> Judith
>
> --
> Hope this helps
>
>
> "KG" wrote:
>
>> My column headings are:
>> A = Description
>> B = 1st Half
>> C = 2nd half
>> D = total year
>>
>> in cells B10 and C10 the user is to enter the "calendarization" %, i.e.,
>> the
>> % of total sales that occur in the first and second half of the year.
>> Because
>> it is redundant, I have NOT aggregated the total in cell D10.
>>
>> I want to display a visual warning if the % entered in B10 and C10 exceed
>> 100%. For now, I have planted an "error" message in the unused cell D10
>> which
>> is remains as long as the total does not exceed 100% but which appears,
>> through Conditional Formatting, in bold red lettering if the total
>> exceeds
>> 100%.
>>
>> Is there any other way to display such an error message, through
>> Validation
>> or VBA?
Bookmarks