R
Ronald Cayne
I am looking up a text string in a1 and seeing if I have a match in a row
For example row B EXAMPLE If I have a match in B2-Z25 I use the index
command to exract a value from within the row AA2 to AX2. No problem so
far! This I can do.However what happens if the same text string turns up in
B2,G2,H2,Y2 or in more cells from columns 1-25, how do I pull out using
the index function values in the range AA2-AX2 and combine their values(ie
get their sum).
Maybe there is another way.
What I am doing is looking up a fund name in A1. Clients names are in
Column A. If a client holds the fund I extract the number of units he holds
by using the index command to pull the number of units he holds for that
fund. Columns B-Z contain Fund names. Columns AA-AY contain number of units
held fror each fund. eg Col B is Fund 1, Colum AA is number of units held
in Fund 1. If the fund in a1 turns up more than once for a client the
problem is to determine his total number of units he holds for that fund
For example row B EXAMPLE If I have a match in B2-Z25 I use the index
command to exract a value from within the row AA2 to AX2. No problem so
far! This I can do.However what happens if the same text string turns up in
B2,G2,H2,Y2 or in more cells from columns 1-25, how do I pull out using
the index function values in the range AA2-AX2 and combine their values(ie
get their sum).
Maybe there is another way.
What I am doing is looking up a fund name in A1. Clients names are in
Column A. If a client holds the fund I extract the number of units he holds
by using the index command to pull the number of units he holds for that
fund. Columns B-Z contain Fund names. Columns AA-AY contain number of units
held fror each fund. eg Col B is Fund 1, Colum AA is number of units held
in Fund 1. If the fund in a1 turns up more than once for a client the
problem is to determine his total number of units he holds for that fund