Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Sumproduct question with a twist...

Posted on 2011-02-11
4
Medium Priority
?
261 Views
Last Modified: 2013-11-05
I need to Sum the "Actual" and "Budget" data from "Building" on distinct "Unit" supplying the Period" and "Building" for the formula.

Can anyone help?

NG,
screenshot.16.jpg
0
Comment
Question by:nike_golf
  • 2
  • 2
4 Comments
 
LVL 59

Accepted Solution

by:
Saurabh Singh Teotia earned 2000 total points
ID: 34873658

Nike,

I can think about 3 possible views to do this...

A. Either Build a Pivot for it and then instead of SUM Use Average and first group by  Building and then unit since all your values are same you will get the right result as in 1 record only.

B. In Column-G2 Use this formula...and drag this till bottom...
=if(sumproduct((C$1:C2=C2)*(D$1:D2=D2))=1,1,0)

Then use this Column to get your values where the value is equal to 1.. as you just filter for unique records..

C. Write a user defined function to do what you are looking for...

Saurabh...
0
 
LVL 13

Author Comment

by:nike_golf
ID: 34873849
Do you have anything for a custom function that you could start me off with?
0
 
LVL 59

Expert Comment

by:Saurabh Singh Teotia
ID: 34873895

I don't have one right now, However if you are intrested can build one for you..if you can use it..let me know..so that can start building one for you...

Also is it possible for you to give the excel file as it will become easy for me to stimulate your data,...
0
 
LVL 13

Author Comment

by:nike_golf
ID: 34873908
I might try running with item 2 you suggested I'll post back... thanks.

NG,
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question