![]() |
![]() |
|
|||||||
| 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: May 2002
Location: Davidson, NC
Posts: 162
|
=if(d1=1,b1,if(e1=1,b1,if(f1=1,b1,if(d2=1,b2,if(e2=1,b2,if(f2=1,b2))))))
Im not fimiliar with arrays(I am really only familiar with the IF function) but I did hit ctrl+shift+enter, and this did not help me. |
|
|
|
|
|
#2 | |
|
Board Regular
Join Date: Feb 2002
Location: Southfield,MI USA
Posts: 1,027
|
G'day,
Quote:
=IF(OR(D1=1,E1=1,F1=1),B1,IF(OR(D2=1,E2=1,F2=1),B2,"")) Adam |
|
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
I am not sure I am understanding you right, but how about the following:
=IF(AND(D1=1,E1=1,F1=1),B1,IF(AND(D2=1,E2=1,F2=1),B2)) is it some thing like this you are after? or you could shorten it further by using array formulation: =IF(D1:F1=1,B1,IF(D2:F2=1,B2)) Regards! |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: May 2002
Location: Davidson, NC
Posts: 162
|
Thanks a bunch,that worrked just fine, plus I can add more.You just expanded my IF knowledge, thanks
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|