morning, 

Please I need help with excel. I don't need a macro. so I don't know if 
this is the right section. I have to create a pivot table

with the below information.  I have a lot duplicate numbers in column B. I 
need to create a pivot table with the following information. 

1) Column B  data in the Row 

2) Column A data in the Column(this I have converted to Yr)

3) Column H, I, and J data in the values 

4) I need to sum all the amount paid(Column J) for each program. ( this I 
think I got by changing the field value to Sum)

5) The issue that I am having is taking the first occurrence of the line 
number(column B) value for Column H, and I.

Please see below

For an example, line 1 have 3 duplicate value. 

I will need the final result to be just one line number with amount paid(J) 
summed up as 1800. Amount cut(I) value will be the first duplicate number 
occurrence value as 400. orig INv will be same as the first occurrence 
value 2000. 


Any help will be greatly appreciated!!!

Initial Data

DATE

LINE Number 

EAD Rej Code

 PROGRAM

BORO

Orig Invoice Amount / Requested Amount 

 Amount Cut     

 Amount paid 

05/18/09

E825878

 

ERM

MN

 $          2,000 

 $                400 

 $       1,800 

07/16/09

E825878

R1

ERM

MN

 $          2,000 

 $            2,000 

 $           200 

06/15/11

E825878

R3

ERM

MN

 $          2,000 

 $            2,000 

 $              -   

11/09/10

    EF04167

 

ERO

BK

 $            1,000 

 $                400 

 $             600 

05/16/14

 EA18697

 

ERO

BX

 $            1,345 

 $                300 

 $          1,045 

03/20/15

 EB31190

 

ERO

BX

 $            7,800 

 $               1,200 

 $          6,600 

02/11/11

 EB31190

 

ERO

QNS

 $            2,580 

 $                250 

 $          2,330 

09/16/10

 ED08291

 

APM

BK

 $            6,395 

 $               2,400 

 $          3,995 

Final result 

A

B

C

D

 H 

 I 

 J 

DATE

LINE Number 

EAD Rej Code

 PROGRAM

BORO

Orig Invoice Amount / Requested Amount 

 Amount Cut     

 Amount paid 

05/18/09

E825878

 

ERM

MN

 $          2,000 

 $                400 

 $       1,800 

11/09/10

    EF04167

 

ERO

BK

 $            1,000 

 $                400 

 $             600 

05/16/14

 EA18697

 

ERO

BX

 $            1,345 

 $                300 

 $          1,045 

03/20/15

 EB31190

 

ERO

BX

 $            7,800 

 $               1,200 

 $          6,600 

09/16/10

 ED08291

 

APM

BK

 $            6,395 

 $               2,400 

 $          3,995 

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.

Reply via email to