need help with formula

lt123

New Member
Joined
Jan 28, 2016
Messages
4
A B C D E F D
6000 2 26 Yes 52 4500 0
6000 1 24 Yes 24 4750 0
4500 1 26 Yes 26 5000 0
4500 2 24 Yes 48 5250 0
8500 1 26 Yes 26 5500 0
8000 1 24 Yes 24 5750 0
8000 1 26 Yes 26 6000 0
4750 1 Yes 0 6250 0
6000 1 24 Yes 24 6500 0
5500 1 24 Yes 24 6750 0
5500 3 24 Yes 72 7000 0
5500 2 26 Yes 52 7250 0
5500 2 24 Yes 48 7500 0
5500 2 26 Yes 52 7750 0
4750 1 26 Yes 26 8000 0

need help
trying to sort this couple days now, not very good in excel.
would appreciate if somebody could help.
thank you.
(Need to look in Column A and If its matches F1, and if yes in the same row look for E4) + sum them all together.

Its counting warehouse stock, production made total.
All suggestions are welcome.
 

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.
I'm afraid your explanation is confusing (to me)

So basically, you want to compare each value in column A against cell F1, check if there's "yes" in column D and if both of these conditions are met, retrieve the value in E4 and sum something (like, what column?)

Could you perhaps give a few rows where you clarify the desired logic?
 
Upvote 0
The sample you provided doesn't really help !
you could use the HTML Maker in my tag to paste a sample here...OR...upload a sample worksheet to dropbox and post the link back here !!!
 
Upvote 0
Just a guess, because your layout and explanation aren't clear. Perhaps something like:

F2: =SUMIFS(E4:E18,A4:A18,F1,D4:D18,"Yes")

Excel 2010
ABCDEFG
Find
Sum
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: right"]4500[/TD]
[TD="align: right"][/TD]

[TD="align: center"]2[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="bgcolor: #FFFF00, align: right"]74[/TD]
[TD="align: right"][/TD]

[TD="align: center"]3[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]4[/TD]
[TD="align: right"]6000[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]26[/TD]

[TD="align: right"]52[/TD]
[TD="align: right"]4500[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]5[/TD]
[TD="align: right"]6000[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]24[/TD]

[TD="align: right"]24[/TD]
[TD="align: right"]4750[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]6[/TD]
[TD="bgcolor: #FFFF00, align: right"]4500[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]26[/TD]
[TD="bgcolor: #FFFF00"]Yes[/TD]
[TD="bgcolor: #FFFF00, align: right"]26[/TD]
[TD="align: right"]5000[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]7[/TD]
[TD="bgcolor: #FFFF00, align: right"]4500[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]24[/TD]
[TD="bgcolor: #FFFF00"]Yes[/TD]
[TD="bgcolor: #FFFF00, align: right"]48[/TD]
[TD="align: right"]5250[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]8[/TD]
[TD="align: right"]8500[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]26[/TD]

[TD="align: right"]26[/TD]
[TD="align: right"]5500[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]9[/TD]
[TD="align: right"]8000[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]24[/TD]

[TD="align: right"]24[/TD]
[TD="align: right"]5750[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]10[/TD]
[TD="align: right"]8000[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]26[/TD]

[TD="align: right"]26[/TD]
[TD="align: right"]6000[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]11[/TD]
[TD="align: right"]4750[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"][/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]6250[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]12[/TD]
[TD="align: right"]6000[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]24[/TD]

[TD="align: right"]24[/TD]
[TD="align: right"]6500[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]13[/TD]
[TD="align: right"]5500[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]24[/TD]

[TD="align: right"]24[/TD]
[TD="align: right"]6750[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]14[/TD]
[TD="align: right"]5500[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]24[/TD]

[TD="align: right"]72[/TD]
[TD="align: right"]7000[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]15[/TD]
[TD="align: right"]5500[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]26[/TD]

[TD="align: right"]52[/TD]
[TD="align: right"]7250[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]16[/TD]
[TD="align: right"]5500[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]24[/TD]

[TD="align: right"]48[/TD]
[TD="align: right"]7500[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]17[/TD]
[TD="align: right"]5500[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]26[/TD]

[TD="align: right"]52[/TD]
[TD="align: right"]7750[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]18[/TD]
[TD="align: right"]4750[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]26[/TD]

[TD="align: right"]26[/TD]
[TD="align: right"]8000[/TD]
[TD="align: right"]0[/TD]

</tbody>
Sheet1
 
Upvote 0
Yes,your right
StephenCrump, this is what i want, but I tryed ur formula and come back with 0.
 
Upvote 0
I tryed ur formula and come back with 0.

The formula works for the data I've posted, but this is just my guess as to what your data looks like.

If your data is different, you'll get a different result. You can either try to modify the formula for your data layout, or as Michael M suggested, post your data using an HTML maker so we can understand it.

See Part B here for another couple of ways you can post screenshots: http://www.mrexcel.com/forum/board-announcements/127080-guidelines-forum-use.html
 
Upvote 0
it won't allow me to access, im at work and its blocked

Im getting formula: =SUMIFS(G14:G43,C14:C43,I14,F14:F43,"Yes") but its returning value 0
 
Upvote 0
it won't allow me to access, im at work and its blocked

Im getting formula: =SUMIFS(G14:G43,C14:C43,I14,F14:F43,"Yes") but its returning value 0


I got it working, problem was with data validation, I had the option to chose, how I can fix that?
 
Upvote 0
It sounds like:

- The formula works?
- You have a different problem caused by data validation?

You'll have to give us more detail ...

- What is the problem?
- What does your data look like, and where is the data validation?
- What results do you want to see?
- What results are you actually getting?
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,996
Members
452,373
Latest member
TimReeks

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