Forum Discussion

Mark Lee's avatar
Mark Lee
Copper Contributor
Sep 17, 2018

extract data based on other cells

   Monday  Tuesday  Wednesday  Thursday  Friday  Saturday  Sunday   
NAMEAGENCYRATE OF PAYWBSFLOORHRSWBSFLOORHRSWBSFLOORHRSHRSWBSFLOORHRSWBSFLOORHRSWBSFLOORHRSWBSFLOORTOTAL
Mr. AOPTIONS19.5L1464-B19L1464-B18L1444-B1 9.5L1224-B19.5L1224-B110.0L1444-B110.0L1224-B156.00
Mr. BOPTIONS19.5L1444-B18L1284-B110.5L1284-B19.59.5L1284-B19.5L1284-B18L1424-B18L1444-B163.00
Mr. COPTIONS19.5L1403-LG9L1406-B39L1424-B1 9.5L1424-B19.5L1424-B110.0L1054-B110.0L1054-B157.00

 

I have been given the table above as an example in order to try and extract the data into something easier to use for creating journals. the envisaged output is something like

Mr. AL1464-B110
 L1224B129
 L1444B110
total hours  49
ROP  19.5
   £955.50

 

i need to pull out the number of hours based on the wbs code and the floor no. as this can appear multiple times in a row it would require addition as well. i have been advised that i can change the format of the original table if it will assist.

 

Is this something that can be done either by formula? i have tried combinations of index and match but i just couldnt fathom how to get them to work. 

Would a macro work better? i have done some work on macros but nothing this detailed

 

Thanks in advance

Mark

 

No RepliesBe the first to reply