Is this a valid IF statement in Excel?
I'm not sure about the RC but this works for what you have described.
=IF(AND(L1="nj 07733",A1=981621),"holmdel",M1)
" wrote:
Hello all,
I am new to Excel programming and was wondering if this is a valid
Excel IF statement for what I want to do:
"=IF(AND(RC[-4]=""NJ 07733"",RC[-12]=""981621""),""HOLMDEL"",RC[-3])"
If cell, 4 cells to the left of the current cell = "NJ 07733" AND
cell, 12 cells to the left of current cell = "981621"
Then
move "HOLMDEL" to current cell
Else
move the contents of cell, 3 cells to the left of current cell to the
current cell.
Thanks for your help ahead of time,
Gabe
|