I am trying to change a number in the left column to the number in the
adjacent column. My setup looks like this.
Number to Change Change to this Number
182001 182000
182002 182000
193002 193000
Code New Code (from the Change to this Number column)
181000 181000
182000 182000
182001 182000
182002 182000
193000 193000
193001 193001
193002 193000
193002 193000
Essentially, this is an accounting problem. I need to change certain
codes basically into a "rollup". I tried the array function but not
sure if I am using it correctly. The "Code", "The Number to
Change" and the "Change to this Number" are entered manually.
Any suggestions? Thank you!
Joerg - 12 Sep 2006 05:12 GMT
You've posted the same question to at least 3 Excel newsgroups. Please don't
cross-post.
Joerg
> I am trying to change a number in the left column to the number in the
> adjacent column. My setup looks like this.
[quoted text clipped - 19 lines]
> Change" and the "Change to this Number" are entered manually.
> Any suggestions? Thank you!
Bob Phillips - 12 Sep 2006 08:22 GMT
=IF(ISNA(VLOOKUP(A2,change_to_table,2,false)),A2,VLOOKUP(A2,change_to_table,
2,false))

Signature
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
> I am trying to change a number in the left column to the number in the
> adjacent column. My setup looks like this.
[quoted text clipped - 19 lines]
> Change" and the "Change to this Number" are entered manually.
> Any suggestions? Thank you!
Pete_UK - 12 Sep 2006 10:28 GMT
If you essentially want to round down to a thousand, then this formula
will do that for you:
=ROUNDDOWN(A2,-3)
assuming your numbers are really numbers (not text codes) and that they
start in cell A2. Copy the formula down.
Hope this helps.
Pete
> I am trying to change a number in the left column to the number in the
> adjacent column. My setup looks like this.
[quoted text clipped - 19 lines]
> Change" and the "Change to this Number" are entered manually.
> Any suggestions? Thank you!