Seamus2626

asked on

# Index / Match Function

Hi,

if you look at Column J of the attached file you can see it is picking up tax Credit from Column A (13.88 ETC)

I need this formula to be changed to pick up gross (one row up in ColA)

In K you can see it is picking up the holdings from ColA.

The ones i have highlighted re are incorrect because they dont pick up enough characters, so the formula needs to be adjusted to pick up numbers that would be a over 8 figures

If anyone can adjust for these two that would be great!

Thanks

Seamus

CP-Rep1-1-.zip

if you look at Column J of the attached file you can see it is picking up tax Credit from Column A (13.88 ETC)

I need this formula to be changed to pick up gross (one row up in ColA)

In K you can see it is picking up the holdings from ColA.

The ones i have highlighted re are incorrect because they dont pick up enough characters, so the formula needs to be adjusted to pick up numbers that would be a over 8 figures

If anyone can adjust for these two that would be great!

Thanks

Seamus

CP-Rep1-1-.zip

for columns K to adjust the amount of numbers to be picked up you have to change

=TRIM(MID(INDEX($A:$A;$B9+20);36;10)) the last number in this formula The 10 indicates you want to copy 10 characters( numbers)

If you want more change into 11, 15 or 20...

KR

Eric

=TRIM(MID(INDEX($A:$A;$B9+

If you want more change into 11, 15 or 20...

KR

Eric

ASKER CERTIFIED SOLUTION

membership

This solution is only available to members.

To access this solution, you must be a member of Experts Exchange.

ASKER

Hi Zwiekhorst,

Thank you for that.

I get how it works now!

Thank you for that.

I get how it works now!

But that still doesn't pick up the full figure, e.g. K9 should be 1,695,279, I believe. Each of the relevant cells appears to have a colon at position 22 then the rest of the data is spaces and the figure so to get the full figure you might as well take everything after character 22 and trim it, e.g. in K7 copied down

=TRIM(MID(INDEX($A:$A,$B7+20),23,100))

If you want to convert that to a number (it's currently text) then add +0 to the end of the formula

regards, barry

=TRIM(MID(INDEX($A:$A,$B7+

If you want to convert that to a number (it's currently text) then add +0 to the end of the formula

regards, barry

Hi Seamus,

Thanks for the points and the grade

kr

Eric

Thanks for the points and the grade

kr

Eric

ASKER

hey Barry, your right, but i worked it out from the Col J adjustment so all good, thanks for the update though!

Cheers,

Seamus

Cheers,

Seamus

=TRIM(MID(INDEX($A:$A;$B7+

Kr

Eric