Formula similar to DSUM

G

Guest

I need to create a formula that acts like a combination of a SUMIF and a
VLOOKUP. I thought a DSUM would work, but haven't had any luck.

I have 2 sheets. The first contains Account numbers in the first column,
then 12 further columns for each of the months, containing dollar values.
Accounts may appear more than once on this sheet.

The second sheet has a column for the various accounts, each listed once.
Depending on how many months are "Actual" versus "Forecast", it needs to sum
a given column in the first sheet. So if six months are actuals, it would go
six columns over and sum all of the accounts (I have a reference cell setup
to count them and give a number).

A vlookup would be perfect if it could sum multiple accounts in the first
sheet. A sumif would be perfect if I could change the third term to go over
X number of columns depending on a certain cell. Since neither of these
seems to be possible, any help you could provide would be greatly appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

DSUM Basics 1
Conditional Sum - variable criteria 5
SumIF Formula 6
Sum with multiple conditions - sumproduct, dsum or dproduct? 3
Dsum Help 0
SUMIF with NAME RANGE 1
Sumif formula 4
SUMIF with 2 criterias 2

Top