Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Excel 2003: I am using four cells A1, A2, A3 & A4. In A1 I want to enter a
value: 6, 9, 12, or 15. I want A2 to evaluate the value in A1. If the value in A1 is less than or equal to 6 then return a '1' otherwise a '0' {=if(a1<=6,1,0)}. I got that. However, I want A3 to evaluate the A1 value such that if that valuse is greater than 6 but less than 12, return a 1 otherwise return a 0. For cell A3, if the value is greater than 12, return a 1 otherwise return a 0. Thx in advance... -- Rick Pelham |
#2
![]() |
|||
|
|||
![]()
In A2 enter:
=--(A1<=6) In A3 enter: =--AND(A16,A1<12) In A4 enter: =--(A112) *Note*, you have not stipulated any value for 12. -- HTH, RD ============================================== Please keep all correspondence within the Group, so all may benefit! ============================================== "RSVP" wrote in message ... Excel 2003: I am using four cells A1, A2, A3 & A4. In A1 I want to enter a value: 6, 9, 12, or 15. I want A2 to evaluate the value in A1. If the value in A1 is less than or equal to 6 then return a '1' otherwise a '0' {=if(a1<=6,1,0)}. I got that. However, I want A3 to evaluate the A1 value such that if that valuse is greater than 6 but less than 12, return a 1 otherwise return a 0. For cell A3, if the value is greater than 12, return a 1 otherwise return a 0. Thx in advance... -- Rick Pelham |
#3
![]() |
|||
|
|||
![]()
Thank you - this was much simpler than what I did. The Cell addresses
reflect actual addresses not the fictional A1...A4 in my post. In L63 I placed the evaluated value In A2 =IF(AND(L631, L63<7), 1, 0) In A3 =IF(AND(L636, L63<13), 1, 0) In A4 =IF(AND(L6313, L63<19), 1, 0) I really appreciate you responding so quickly - especially on the weekend. If I can return the favor, I certainly will. Thanks again - Rick "RagDyeR" wrote: In A2 enter: =--(A1<=6) In A3 enter: =--AND(A16,A1<12) In A4 enter: =--(A112) *Note*, you have not stipulated any value for 12. -- HTH, RD ============================================== Please keep all correspondence within the Group, so all may benefit! ============================================== "RSVP" wrote in message ... Excel 2003: I am using four cells A1, A2, A3 & A4. In A1 I want to enter a value: 6, 9, 12, or 15. I want A2 to evaluate the value in A1. If the value in A1 is less than or equal to 6 then return a '1' otherwise a '0' {=if(a1<=6,1,0)}. I got that. However, I want A3 to evaluate the A1 value such that if that valuse is greater than 6 but less than 12, return a 1 otherwise return a 0. For cell A3, if the value is greater than 12, return a 1 otherwise return a 0. Thx in advance... -- Rick Pelham |
#4
![]() |
|||
|
|||
![]()
There's *still* no actual need for the IF() functions.
The numeric conversion of TRUE and FALSE to 1 and 0 using the unary will return exactly the same results as your formulas, whether as a display, or in future calculations. -- Regards, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "RSVP" wrote in message ... Thank you - this was much simpler than what I did. The Cell addresses reflect actual addresses not the fictional A1...A4 in my post. In L63 I placed the evaluated value In A2 =IF(AND(L631, L63<7), 1, 0) In A3 =IF(AND(L636, L63<13), 1, 0) In A4 =IF(AND(L6313, L63<19), 1, 0) I really appreciate you responding so quickly - especially on the weekend. If I can return the favor, I certainly will. Thanks again - Rick "RagDyeR" wrote: In A2 enter: =--(A1<=6) In A3 enter: =--AND(A16,A1<12) In A4 enter: =--(A112) *Note*, you have not stipulated any value for 12. -- HTH, RD ============================================== Please keep all correspondence within the Group, so all may benefit! ============================================== "RSVP" wrote in message ... Excel 2003: I am using four cells A1, A2, A3 & A4. In A1 I want to enter a value: 6, 9, 12, or 15. I want A2 to evaluate the value in A1. If the value in A1 is less than or equal to 6 then return a '1' otherwise a '0' {=if(a1<=6,1,0)}. I got that. However, I want A3 to evaluate the A1 value such that if that valuse is greater than 6 but less than 12, return a 1 otherwise return a 0. For cell A3, if the value is greater than 12, return a 1 otherwise return a 0. Thx in advance... -- Rick Pelham |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? | Excel Discussion (Misc queries) | |||
How do I isolate my Excel server (automation) from other Excel instances? | Excel Discussion (Misc queries) | |||
sharing/using/saving Excel 2002 files in Excel 2003 | Excel Discussion (Misc queries) | |||
Excel 2002 and 2000 co-install. Control Which Starts ? | Excel Discussion (Misc queries) | |||
VB Automation is Whacking out my Excel Environment | Excel Discussion (Misc queries) |