Vlookup to bring back multiply values

Mldeuser

Well-known Member
Joined
Dec 27, 2008
Messages
573
Office Version
  1. 365
Platform
  1. Windows
I am trying to write a formula that look at the header on the main tab for example AC6 contains a date 11/01/2020. I want it to look at the date in this tab, then go to tab titled Care Design and look the dates in column C and when it finds a match bring back the value in column I. The problem there may be more than one row where the date matches. I need the formula to bring the total of the two rows.

For example rows 48 & 49 both have the dates 11/01/2020 in column C. The value in row 48 column I is 44,195.67 and the value in row 49 column I is 6,799.33 for a total value of $50,995 this is the value I need brought back to the main tab.

This is the formula I am currently using, it stops at the first value it finds.

=VLOOKUP(AC$6,'Care Design'!$C$22:$K$300,5,FALSE).

Thank you
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Hi Mldeuser,

A little SUMIFS should do it.

Here's my Care Designs tab:

CDI
1DateValue
46
4710/30/202022.00
4811/1/202044,195.67
4911/1/20206,799.33
5011/2/202022.00
5111/3/202022.00

<tbody>
</tbody>
Care Design

Here's the date in column AC and the SUMIFS in column AD

ACAD
1DateResult
611/1/2020$50,995.00

<colgroup><col style="width: 25pxpx"><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Main

Worksheet Formulas
CellFormula
AD6=SUMIFS('Care Design'!I:I,'Care Design'!C:C,Main!AC6)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
Solution

Forum statistics

Threads
1,213,497
Messages
6,113,999
Members
448,541
Latest member
iparraguirre89

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