returning with multiple figures on multiple lines

Pizzio

Active Member
Joined
Apr 28, 2005
Messages
275
I'm looking for a formula that will return with the below results for the data shown below that. Essentially I need the formula to bring in the notes when applicable on seperate lines THEN load the expense in the correct expense month. Any ideas?

WD3 Budget vs. Actual - West.xlsx
ABCD
16NotesJanuaryFebruaryMarch
17Rent400400
18Building500
19Electrical100
Sheet3


WD3 Budget vs. Actual - West.xlsx
ABCD
1DateExpenseImpact?Note
21/1/201150
31/1/2011400YesRent
41/1/201130
51/1/2011500YesBuilding
62/1/201165
73/1/2011400YesRent
83/1/2011200
93/1/2011100YesElectrical
103/1/201180
113/1/201125
Sheet3
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Let me know if there is anything else I should post to help come up with some options for a resolution.

Thank you.
 
Upvote 0
Any suggestions.

In A15 enter: 2011

B17, copy across and down:
Code:
=SUMPRODUCT(
   --($D$2:$D$11=$A17),--(TEXT($A$2:$A$11,"mmmm")=B$16),
   --(YEAR($A$2:$A$11)=$A$15),
   $B$2:$B$11)

If so desired, custom format the formula cells as e.g.:

[=0]"";General
 
Upvote 0
Thanks Aladin, the formula worked great for bringing in the monthly expense.

I'm also looking for something though that brings in the notes. Using the data above, I need something that can automatically list out the notes into column A. Any ideas?
 
Upvote 0
Thanks Aladin, the formula worked great for bringing in the monthly expense.

Great. Thanks for providing feedback.

I'm also looking for something though that brings in the notes. Using the data above, I need something that can automatically list out the notes into column A. Any ideas?

A17, control+shift+enter, not just enter, and copy down:
Code:
=IFERROR(INDEX($D$2:$D$11,MODE(IF($D$2:$D$11<>"",
   IF(ISNA(MATCH($D$2:$D$11,$A$16:A16,0)),
    MATCH($D$2:$D$11,$D$2:$D$11,0)*{1,1})))),"")
 
Upvote 0

Forum statistics

Threads
1,224,508
Messages
6,179,189
Members
452,893
Latest member
denay

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