Count only if...

Milos038

New Member
Joined
Nov 26, 2016
Messages
5
Hi
I need help how to make formula for counting only if is matching word selected in other shell (from drop down list)
Example like on picture

dc3fdc

Screenshot by Lightshot

thx
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Maybe you want something like this:

Code:
=SUMIF(C:C;G4;D:D)-SUMIF(C:C;G4;E:E)

in G4 and then copy down
 
Upvote 0
But now I cant use this result for next calculation
I need result from "H" to use in next table but cant

5b6e31cff6e3491da2584a482121b2b3.png
 
Upvote 0
I already have other table where I count in,out and sold items.
I need to calculate this result together with rest callculation
example

F3 is IN delivery
G3 is stocked items
H3is OUT
K3 is SUM

C3 is sum recived with previous operation what we already talked
I need to put in K3 formula: =F3+G3-H3+c3
 
Upvote 0
The error says that you are double using a cell, so if your F,G,H values are already used in the "c" cell calculation, they may create an error. Try to clarify your formula and result.
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,818
Members
449,049
Latest member
cybersurfer5000

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