Home |
Search |
Today's Posts |
#1
|
|||
|
|||
IF Statements for 3 cells
Hi,
I have 3 cells (B5, C5 and/or D5) that need to meet a certain criteria without going over the maximum in any combination of the 3 cells. The maximum is $400. Any of these cells can be equal to $400, but if one or two gets to $400 first, how do I make the ones that are less than $400 say zero? (I have a small file to send if needed) Thanks, CP |
#2
|
|||
|
|||
I assume you have existing equations in these cells
eq(b5),eq(c5),eq(d5) It is real easy to get into circular references with this type of logic. Try in b5 =if(or(eq(c5)=400,eq(d5)=400),0,eq(b5)) in c5 =if(or(eq(b5)=400,eq(d5)=400),0,eq(c5)) in d5 =if(or(eq(c5)=400,eq(b5)=400),0,eq(d5)) "CP" wrote: Hi, I have 3 cells (B5, C5 and/or D5) that need to meet a certain criteria without going over the maximum in any combination of the 3 cells. The maximum is $400. Any of these cells can be equal to $400, but if one or two gets to $400 first, how do I make the ones that are less than $400 say zero? (I have a small file to send if needed) Thanks, CP |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Help adding text values | Excel Worksheet Functions | |||
Convert data type of cells to Text,Number,Date and Time | Excel Worksheet Functions | |||
To safety merge cells without data destroyed, and smart unmerge! | Excel Discussion (Misc queries) | |||
Heps to design Locked/Unlocked cells in protected worksheet | Excel Discussion (Misc queries) | |||
Convert data of cells to any type: Number, Date&Time, Text | Excel Discussion (Misc queries) |