[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Add additional data at Sumproduct formula

Posted on 2012-04-08
12
Medium Priority
?
312 Views
Last Modified: 2012-04-16
Hi

How to include data from Column D from Detail sheet at Column E and F  formula (Detail sheet). Here’s the current formula at Column E and F:

=IF(TODAY()<$B2,"",100-(SUMPRODUCT((Data!$B$2:$B$331<=$C2)*(Data!$D$2:$D$331=E$1)*(Data!$I$2:$I$331="Yes")*Data!$H$2:$H$331)))


Attached the workbook for Experts perusal.
Formula.xls
0
Comment
Question by:Billa7
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
12 Comments
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 37822311
I do not understand; the formula already depends on column D through this part

(Data!$D$2:$D$331=E$1)

How else do you want it modified?
0
 

Author Comment

by:Billa7
ID: 37822319
Hi ssaqibh,

We need to include column D from "Detail sheet" as well.
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 37822325
Include how. Can you give an example?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Billa7
ID: 37822332
Hi ssaqibh,

e.g. For Week 1 (01 Jan – 7Jan) – in this date range we have 1 data in “data sheet” which is on 5th Jan with duration of “00:05:00” (Column H). We need to minus of this data with data at Column D (Detail sheet). The objective is to capture total availability of the week. Hope this is possible.
0
 

Author Comment

by:Billa7
ID: 37822491
Hi ssaqibh,

Please let me know if my explanation is not very clear.
0
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 2000 total points
ID: 37822542
Is this what you mean?

=IF(TODAY()<$B2,"",($D2-(SUMPRODUCT((Data!$B$2:$B$331<=$C2)*(Data!$D$2:$D$331=E$1)*(Data!$I$2:$I$331="Yes")*Data!$H$2:$H$331)))*24)

**edited**
0
 

Author Comment

by:Billa7
ID: 37822679
Hi ssaqibh,

Is that a way for us to view the value at column E and F (Detail sheet)  in 100.00 units. Let say, If no duration is updated at column H (00:00:00) at data sheet, therefore the cell for that week in Detail sheet will show as "100.00", if the cell at column H is having duration e.g. 00:05:00, thus the value for the week at Detail sheet will show the respective value according to "###.##" unit. Hope this is doable.
0
 

Author Comment

by:Billa7
ID: 37822850
Hi ssaqibh,

I have attached the sample data which has "100.00" value for your reference. Is that any possible for us to show the value similarly in the given solution.
Formula.xls
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 37822954
I am getting confused.

I thought that your comment #37822332 meant that the duration should be subtracted from column D

But from your last comment it appears that you want it subtracted from 100.

Please clarify.
0
 

Author Comment

by:Billa7
ID: 37825929
Hi ssaqibh,

Sorry for the confusion. Indeed, I need to subtract column D value, and at the same time I intent to show the value in 100.00, so that the reader could easy understand what is the actual value for the week out of 100.00.  Perhaps we could convert the result of subtraction of column D and convert it into 100.00 value. Sorry if this sounds silly.
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 37826100
I just do not understand. You will have to tell me what should the answer be for row 1.
0
 

Author Closing Comment

by:Billa7
ID: 37854120
Hi ssaqibh,

Thanks a lot for the help.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

649 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