Find Month range and add columns in that range

tony.reynolds

Board Regular
Joined
Jul 8, 2010
Messages
97
I need to find the total spent on each category in the below table example but only from the month of january. then show a userform with the data as a Quick Report.

Can someone start me off....

the Date cells shown here are actually text.. not formatted cells with a full date so we can search for the text in the cell

rows are always sorted in month order

I have a userform that the user can select start and end month from ComboBox1 and ComboBox2

and then some text boxes to display the results of each category

<TABLE style="WIDTH: 332pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=440><COLGROUP><COL style="WIDTH: 83pt; mso-width-source: userset; mso-width-alt: 4022" width=110><COL style="WIDTH: 83pt; mso-width-source: userset; mso-width-alt: 4022" span=3 width=110><TBODY><TR style="HEIGHT: 22.5pt; mso-height-source: userset" height=30><TD style="BORDER-BOTTOM: #8db4e2 1pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 83pt; HEIGHT: 22.5pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl65 height=30 width=110>Date</TD><TD style="BORDER-BOTTOM: #8db4e2 1pt solid; BORDER-LEFT: #8db4e2; BACKGROUND-COLOR: transparent; WIDTH: 83pt; BORDER-TOP: #8db4e2 1pt solid; BORDER-RIGHT: #8db4e2 1pt solid" class=xl66 width=110>Food</TD><TD style="BORDER-BOTTOM: #8db4e2 1pt solid; BORDER-LEFT: #8db4e2; BACKGROUND-COLOR: transparent; WIDTH: 83pt; BORDER-TOP: #8db4e2 1pt solid; BORDER-RIGHT: #8db4e2 1pt solid" class=xl67 width=110>Clothing</TD><TD style="BORDER-BOTTOM: #8db4e2 1pt solid; BORDER-LEFT: #8db4e2; BACKGROUND-COLOR: transparent; WIDTH: 83pt; BORDER-TOP: #8db4e2 1pt solid; BORDER-RIGHT: #8db4e2 1pt solid" class=xl66 width=110>Travel</TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Dec, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl72> 23.00</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl69> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl69> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Dec, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Dec, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Jan, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> 56.00</TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Jan, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> 34.00</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Jan, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Jan, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Jan, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Jan, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70>12.00</TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Jan, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Feb, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> 34.00</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Feb, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Feb, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Feb, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Feb, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> 34.00</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Feb, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR></TBODY></TABLE>


Any Help would be appreciated
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
I need to find the total spent on each category in the below table example but only from the month of january. then show a userform with the data as a Quick Report.

Can someone start me off....

the Date cells shown here are actually text.. not formatted cells with a full date so we can search for the text in the cell

rows are always sorted in month order

I have a userform that the user can select start and end month from ComboBox1 and ComboBox2

and then some text boxes to display the results of each category

<TABLE style="WIDTH: 332pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=440><COLGROUP><COL style="WIDTH: 83pt; mso-width-source: userset; mso-width-alt: 4022" width=110><COL style="WIDTH: 83pt; mso-width-source: userset; mso-width-alt: 4022" span=3 width=110><TBODY><TR style="HEIGHT: 22.5pt; mso-height-source: userset" height=30><TD style="BORDER-BOTTOM: #8db4e2 1pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 83pt; HEIGHT: 22.5pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl65 height=30 width=110>Date</TD><TD style="BORDER-BOTTOM: #8db4e2 1pt solid; BORDER-LEFT: #8db4e2; BACKGROUND-COLOR: transparent; WIDTH: 83pt; BORDER-TOP: #8db4e2 1pt solid; BORDER-RIGHT: #8db4e2 1pt solid" class=xl66 width=110>Food</TD><TD style="BORDER-BOTTOM: #8db4e2 1pt solid; BORDER-LEFT: #8db4e2; BACKGROUND-COLOR: transparent; WIDTH: 83pt; BORDER-TOP: #8db4e2 1pt solid; BORDER-RIGHT: #8db4e2 1pt solid" class=xl67 width=110>Clothing</TD><TD style="BORDER-BOTTOM: #8db4e2 1pt solid; BORDER-LEFT: #8db4e2; BACKGROUND-COLOR: transparent; WIDTH: 83pt; BORDER-TOP: #8db4e2 1pt solid; BORDER-RIGHT: #8db4e2 1pt solid" class=xl66 width=110>Travel</TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Dec, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl72> 23.00</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl69> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl69> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Dec, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Dec, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Jan, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> 56.00</TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Jan, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> 34.00</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Jan, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Jan, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Jan, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Jan, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70>12.00</TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Jan, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Feb, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> 34.00</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Feb, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Feb, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Feb, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Feb, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> 34.00</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR><TR style="HEIGHT: 15pt; mso-height-source: userset" height=20><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #8db4e2 1pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f4f4f4; BORDER-RIGHT: #8db4e2 1pt solid" class=xl71 height=20>Feb, 10</TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #f4f4f4; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl73> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD><TD style="BORDER-BOTTOM: #95b3d7 0.5pt solid; BORDER-LEFT: #95b3d7; BACKGROUND-COLOR: transparent; BORDER-TOP: #95b3d7; BORDER-RIGHT: #95b3d7 0.5pt solid" class=xl70> </TD></TR></TBODY></TABLE>


Any Help would be appreciated
Try...

=SUMIF($A$2:$A$17,"Jan. 10",INDEX($B$2:$D$17,0,MATCH("Food",$B$1:$D$1,0)))
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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