still learning
Well-known Member
- Joined
- Jan 15, 2010
- Messages
- 850
- Office Version
- 365
- Platform
- Windows
Hi,
I've been using this formula for a while and it works good. I added a column (C) and need to modify the formula
It only returns a value if one of the words is in F161, otherwise it keeps the cell blank.
I want to add that if C161 is Blank, then look at the other conditions. If C161 is NOT blank, then disregard the If statement and return a blank cell no matter want the rest of the formula says.
I tried to add the following but it makes the formula wrong
F will either be blank or have one of the words in it.
B will either be blank or have a number in it
If C is not blank, it will have a letter in it
All data is entered using the advance filter from another sheet in the same workbook
I’m putting this in T161 and coping it down to T450
Also, should I be using OR instead of And
Mike
I've been using this formula for a while and it works good. I added a column (C) and need to modify the formula
Excel Formula:
=IF(AND(F161="charge"),+B161,IF(AND(F161="payment"),-B161,IF(AND(F161="credit"),-B161,IF(AND(F161="pending"),+B161,""))))
I want to add that if C161 is Blank, then look at the other conditions. If C161 is NOT blank, then disregard the If statement and return a blank cell no matter want the rest of the formula says.
I tried to add the following but it makes the formula wrong
Excel Formula:
=If(And(C161<>””),””,IF(and(…………
B will either be blank or have a number in it
If C is not blank, it will have a letter in it
All data is entered using the advance filter from another sheet in the same workbook
I’m putting this in T161 and coping it down to T450
Also, should I be using OR instead of And
Mike