Sothear
Take another look at the three orgiginal responses. They all seem to be exactly what you are looking for
Looking at the number based formula you posted, it seems you may be looking for one formula that you can put in all of the cells. I'm sure that a single formula can be devised, but there isn't any reason to do so. By using the three different formulas you don't need to play around with the COLUMN function, and you can accomodate text values without needing a MATCH, CHOOSE or LOOKUP
Regards
Mark Graesse
(e-mail address removed)
----- Sothear wrote: ----
Hello Frank
What I mean by "shift" is the value in column F stay where it is
code: P=Paid O=Outstanding A= Adjustmen
e.g..(1
COD
Column F Column J Column M Column N Column
10.00 P 10.0
If for example I'd like change to code 'O' in an existing cell with same formula, the 10.00 would shift to column
e.g...(2
COD
Column F Column J Column M Column N Column
10.00 O 10.0
e.g...(3
COD
Column F Column J Column M Column N Column
10.00 A 10.0
I understand all three folks are correct, although I've missed inform somewhat. However, the above sample what i'd lik
see. I have this formula that work with number =IF($E1=column()-column($E1)-1,$D1,"") using code: 3, 4,
It works similar sample. The only different is that I'd to use Alpha instead of Number
Hope this helpul..
Many thanks Frank, Mark, Norman and Marcel that helped.
sothea
----- Frank Kabel wrote: ----
Sothear wrote
I'd like to achive an excel functions of the following scenario
column "P
- If column J with code "O", return value in column "F" T
column "N
- If column J with code "P", return value in column "F" T
column "M
in column F would shift to each destination column automatically
without having to retype different formula
code A, value of column F would automatically shift to column P an
soforth....
Sothea
Hi Sothea
you either have to use the three different formulas (one per column
the Morman, Mark, etc. suggested or you'll have to use VBA. On
question: What do you mean with 'shift' Do you want to delete the valu
in column F. If yes you definetly will need VBA to achieve this. e.g
process the worksheet change event
Fran