![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 11
|
I tried to enter the following:
=if(a1 But, no matter what my values in A1 and A3 are, I always get returned value of 1. In words, I want to do this.. If the value in cell A1 is less than the value in A2, and the value in A2 is less than the value in A3, then return a 5, otherwise, return a 1. What am I doing wrong? |
|
|
|
|
|
#2 |
|
New Member
Join Date: Apr 2002
Posts: 11
|
sorry.. .html was on here is my formula.. =if(a1 |
|
|
|
|
|
#3 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Quote:
=IF(AND(A1 |
|
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Location: Guderup, Denmark
Posts: 287
|
=if(and(a1
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Location: Guderup, Denmark
Posts: 287
|
sorry for the strange answer.
=IF(AND(A1 |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|