Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
DaveG
 
Posts: n/a
Default Formula using IF, AND and OR Arguements

I work in the mortgage lending industry and I use Excel 2003 to track
information about each of the loans I review. I want to write a formula that
says: IF the value in cell A1 = "Refi" AND IF the value in cell A2 = AAAA or
BBBB or CCCC, THEN return the value DDDD in cell A3, otherwise leave cell A3
blank.

My formula works if I have only one value for cell A2, but it fails when I
try to add the OR values.

Any suggestions would be most appreciated.
--
DaveG
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default Formula using IF, AND and OR Arguements

=IF(AND(A1="Refi",OR(A2=AAAA,A2=BBBB,A2=CCCC)),DDD D,"")


--

Regards,

Peo Sjoblom

"DaveG" wrote in message
...
I work in the mortgage lending industry and I use Excel 2003 to track
information about each of the loans I review. I want to write a formula

that
says: IF the value in cell A1 = "Refi" AND IF the value in cell A2 = AAAA

or
BBBB or CCCC, THEN return the value DDDD in cell A3, otherwise leave cell

A3
blank.

My formula works if I have only one value for cell A2, but it fails when I
try to add the OR values.

Any suggestions would be most appreciated.
--
DaveG



  #3   Report Post  
DaveG
 
Posts: n/a
Default Formula using IF, AND and OR Arguements

Peo, thank you, it works perfectly now!
--
DaveG


"Peo Sjoblom" wrote:

=IF(AND(A1="Refi",OR(A2=AAAA,A2=BBBB,A2=CCCC)),DDD D,"")


--

Regards,

Peo Sjoblom

"DaveG" wrote in message
...
I work in the mortgage lending industry and I use Excel 2003 to track
information about each of the loans I review. I want to write a formula

that
says: IF the value in cell A1 = "Refi" AND IF the value in cell A2 = AAAA

or
BBBB or CCCC, THEN return the value DDDD in cell A3, otherwise leave cell

A3
blank.

My formula works if I have only one value for cell A2, but it fails when I
try to add the OR values.

Any suggestions would be most appreciated.
--
DaveG




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"