Assistance on Getting Values from raw data

Sandeep Singh

New Member
Joined
Mar 13, 2013
Messages
40
Hi All Excel Experts,

Hope all are doing good !!!

I need your assistance on getting values from the raw data pulled from an xxx application. The values can be pulled through a formula or small VBA code.

Below is the raw data format.



A B C D E F G H
1585491904333.png



I have three scenarios as to how the data should be picked from raw data.
1. I want that amount as per the broker and code number as below. (It should search the entire data and as per the broker number and code number given it should give the amount.

1585492083591.png



2. I want the aggregate value of CSHADJ which is highlighted in green. It should search the entire data and take the aggregate value of CSHADJ.

1585492261413.png


3. Its similar to second scenario, want the aggregate value of Offset Rec ACAT fail rev and Offset Dec ACAT fail Rev. It should give the aggregate value if we have multiple same descriptions. And it can be anywhere within the raw data.

1585492351132.png



Thinking that an excel array formula should work on this and I trying at my end too. Thanks in advance for your support !!!

Regards,
Sandeep
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
What version of Excel are you using?
Will the Amount for the Broker always be 2 rows above in column G from row B with the Broker Desc.?
 
Upvote 0
Try the following:
Also, it would help if you could use XL2BB to post your examples (see green square at the end of the ribbon). Most members don't want to have to retype your data to test a solution.
Book1
ABCDEFGHIJK
1O. Desc.Amount
21scenario 1
3b11
4b1b22
52b33
6
7b2scenario 2
83CSHADJ248950.58
9
10b3scenario 3
11D CSHADJ IS PART0161128692.15OFFSET REC ACAT FAIL REV-673680.24
12C CSHADJ ID PART0161-2700.00OFFSET DEC ACAT FAIL REV8222.94
13D CSHADJ 2D PART0161122958.43
14
15OFFSET SEC NO OOOOO
16OFFSET REC ACAT FAIL REV-24680.24
17OFFSET DEC ACAT FAIL REV6062.94
18OFFSET REC ACAT FAIL REV-649000.00
19OFFSET DEC ACAT FAIL REV2160.00
Sheet1
Cell Formulas
RangeFormula
K3:K5K3=INDEX($G$2:$G$10,MATCH(J3,$B$2:$B$10,0)-2)
K8K8=SUMIF($B$2:$B$20,"*"&J8&"*",$G$2:$G$20)
K11:K12K11=SUMIF($B$2:$B$19,J11,$G$2:$G$19)
 
Upvote 0

Forum statistics

Threads
1,214,989
Messages
6,122,622
Members
449,093
Latest member
catterz66

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top