matching then adding

DStayman

New Member
Joined
Apr 21, 2011
Messages
11
I have a spread sheet that i need to do a Vlookup, or at least I thought. The spread sheet has a bunch of information on a particular piece of property(s). What i need is "P8" to find all cells is column AB that has either A, B, C, D, E, F in it. And if it has those letters I need it to add column t adjacent numbers together. So if property "A" has 3 row's pertaining to it I need it to find those 3 rows, then add all three column T's. Been trying to do a vlookup function and just have been failing terribly. Any help would be most helpful, Thanks!<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
If I follow correctly, try:

Code:
=SUMPRODUCT(--ISNUMBER(MATCH(AB2:AB100,{"A","B","C","D","E","F"},0)),T2:T100)

Matty
 
Upvote 0
That did exactly what i need it to, except i need it to do one more thing if possible, i tried but it said to many functions. I need it to check cell A8 (which will ahve (AB,C,D,E, or F in it) and add up all the A's if its a A, or add up all the Bis if its a b, etc. I tried an IF function but it said to many functions. Thanks for your help on this so far!
 
Upvote 0
If I follow, it's simply this:

=SUMIF(AB2:AB100,A8,T2:T100)

Does this do what you want?

Matty
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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