![]() |
![]() |
|
|||||||
| 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 |
|
Board Regular
Join Date: Feb 2002
Posts: 232
|
HELP!
I'm not sure how to get 3 things into a nested statement. Here's the logic (mmmm?) IF G1 NOT "" AND I1 > 0 Then "PAY AGREED" OR IF I1 = ISERROR Then "Reject Copy" is this possible. I'm sure it is, but it's friday afternoon Thanks Matt |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: May 2002
Location: Ipswich, Suffolk, England
Posts: 135
|
I think this is it
=IF(G1<>"",IF(I1>0,"Pay Agreed",""),"notagreed") but without test data cant be sure |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Posts: 232
|
could you explain the syntax....
|
|
|
|
|
|
#4 |
|
Board Regular
Join Date: May 2002
Location: Ipswich, Suffolk, England
Posts: 135
|
if g1 is not equal to blank,then if i1 is greater than 0 "pay agreed" else pay not agreed (I think)
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Location: Calgary, Alberta Canada
Posts: 2,065
|
Your information is not complete; you can try the following. =IF(ISERROR(I1),"Reject Copy",IF(AND(G1<>"",I1>0),"Pay Agreed","")) |
|
|
|
|
|
#6 |
|
Board Regular
Join Date: Feb 2002
Posts: 232
|
thanks...I think I've got it now!
Matt |
|
|
|
|
|
#7 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
|
Quote:
Try this: =IF(LEN(G1),IF(ISNUMBER(I1),IF(I1,"PAY AGREED","I1 is 0: What Now?"),"Reject Copy"),"G1 is kind of blank: What Now?") Aladin |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|