Multiple functions use sum product with condition & Extracting range for each cell

SKN2022

New Member
Joined
Aug 6, 2022
Messages
27
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Hello experts,
need help in extracting data from sheet
sample file attached
I used formula in I4, J5 cell but no value, so need to now what went wrong
now what I actually want is that
need to Extract data from column A named as Pile
for pile number 1 need sum product of B4:B20, H4:H20,
same for each pile number till 46

Second thing I want is for each pile range value from column H to be counted for different range as put in M3, N3, O3.


 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Do you want SUMPRODUCT, or SUM? B4*H4 or B4+H4?
Excel Formula:
=SUMPRODUCT(--(A4:A20=1),B4:B20,H4:H20)
Excel Formula:
=SUM(IF(A4:A20=1,B4:B20+H4:H20))
Note that the second one will not work if there are any non numeric entries in B4:B20 or H4:H20 (empty cells are ok, formula blanks are not).

It would be useful if you posted your example to the forum using XL2BB as a lot of members are limited by security restrictions that will not allow them to follow links to other sites.
 
Upvote 0
i want sumproduct, B4*H4, and cant install XL2BB as laptop is company provided so cant install third party apps into it, the google drive file is shared in this forum multiple times , no one had issue for it.
 
Upvote 0
no one had issue for it.
Lots of people do, you just don't know it because they skip over your question and do not respond.
My workplace security policy strictly forbids us to download any files from the internet. And I know many others either cannot or will not download files from the internet.
There are others who can and will download your files. Just be aware that it reduces your pool of potential helpers.

So we usually advise people to upload files and provide links as a last resort, i.e. if they cannot use the other tools.
 
Upvote 0
You didn't mention any problem with the suggested formula so I assume that it gives you what you need.
 
Upvote 0
thanks for the reply, actually i got the solution from friend......................
 
Upvote 0
thanks for the reply, actually i got the solution from friend......................
Please post it here then, so the solution appears in the thread.
Then you can mark that post as the solution.

Thank you.
 
Upvote 0
here is the solution sheet one had query with data, and sheet is having answer

 
Upvote 0
here is the solution sheet one had query with data, and sheet is having answer

Can you just post the formula/code that was the solution, instead of posting a link?
 
Upvote 0
i dont think just posting the formula will make u understand the requirement/query, even than putting few of them

=(SUMIFS($F$18:$F$1066,$L$18:$L$1066,">=190",$D$18:$D$1066,D4))/D5%
=(SUMIFS($F$18:$F$1066,$L$18:$L$1066,">=160",$D$18:$D$1066,D4)-SUMIFS($F$18:$F$1066,$L$18:$L$1066,">=180",$D$18:$D$1066,D4))/D5%
=SUMPRODUCT(D6:AX6,$D$5:$AX$5)/$C$5
=(SUMIFS($F$18:$F$1066,$L$18:$L$1066,">=80",$D$18:$D$1066,D4)-SUMIFS($F$18:$F$1066,$L$18:$L$1066,">=100",$D$18:$D$1066,D4))/D5%
 
Upvote 0

Forum statistics

Threads
1,215,480
Messages
6,125,048
Members
449,206
Latest member
Healthydogs

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