I think you are on the right track. I am somewhat of a novice and have been
trying various functions for a few weeks now. Vlookup is the function I keep
going back to. Do you think the Index function could also play in to this?
Right now I add 2 columns to my bank statement listing branches 1-45 in the
1st and their merchant numbers in the 2nd. I then use this for the "find" &
"replace all" under edit. So I have the first part, What is the helper
column? Can you be more specific with an example or what formula would go in
the helper column?
It seems to me that you've already done most of the work by creating the
datalist of branch numbers and merchant numbers.
Assume the bank statement is A1 to G1000, with headers in Row1.
Say the XL bank statement has the merchant number in Column C.
Say the sales amounts are in Column D.
And your datalist is in Y1 to Z46, with branch number in Y and merchant
number in Z.
In H2 enter this formula:
=INDEX(Y$2:Y$46,MATCH(C2,Z$2:Z$46,0))
In X2 enter this formula:
=SUMIF(H$2:H$1000,Y2,D$2:D$1000)
Copy both H2 and X2 down as needed.

Signature
HTH,
RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================
I think you are on the right track. I am somewhat of a novice and have been
trying various functions for a few weeks now. Vlookup is the function I keep
going back to. Do you think the Index function could also play in to this?
Right now I add 2 columns to my bank statement listing branches 1-45 in the
1st and their merchant numbers in the 2nd. I then use this for the "find" &
"replace all" under edit. So I have the first part, What is the helper
column? Can you be more specific with an example or what formula would go in
the helper column?
"bj" wrote:
> Try Vlookup
> Set up a data set with the two numbers sets
[quoted text clipped - 22 lines]
> > replace
> > all, but this is tedious. Please help!
michelplantz - 06 Nov 2006 15:13 GMT
Thank you so much for giving me the actual formula. I will try it out this
week. It also occurred to me over the week-end that I coud run a macro while
I do the "find" "replace all" edit for each branch and then run that every
month. The possible issue with that is the bank statement parameters can vary
from month to month. This may be an issue with the formula also, and I will
just have to make the range changes each month. I have one more quick
question if you don't mind, I cannot get the TRANSPOSE function to work. The
first time I tried it, it worked great and I cannot remember what I did. My
Discover statement lists the merchant number and then directly below it in
the same col. (A) lists the charge amount. So I need to move every other row
to it's own col (B ). It should read A1=merchant number, B1= charge amount,
not A1= merchant number, A2= charge amount. Thank you.
> It seems to me that you've already done most of the work by creating the
> datalist of branch numbers and merchant numbers.
[quoted text clipped - 50 lines]
> > > replace
> > > all, but this is tedious. Please help!