additional criteria adding

sachin483

Board Regular
Joined
Mar 31, 2015
Messages
157
Office Version
  1. 2019
Platform
  1. Windows
I have grid as below and comparing column number A,D & E amount is arrived but now I want to add additional criteria column B & C

grid

SSDESGACH%FROMTOAMT
AASS110010000015899950000
AASS210015900021799965000
AASS310021800027699980000
AASS4100277000999999995000
ABSS110012000018899965000
ABSS210018900025799990000
ABSS3100258000326999115000
ABSS41003270009999999140000
ACSS110011000018699945000
ACSS210018700026399960000
ACSS310026400034099975000
ACSS4100341000999999990000

<tbody>
</tbody>

data:-

SSDESGACHRANGEAMT REQUIRE
AASS110010500050000
AASS2992200000
AASS3100950000
AASS410019500065000
ABSS110018000065000
ABSS2100850000
ABSS3993000000
ABSS4100350000115000
ACSS110010100060000
ACSS2994000000
ACSS310075000090000
ACSS410022500060000

<tbody>
</tbody>

the formula i am using

=SUMIFS($F$2:$F$13,$A$2:$A$13,I2,$D$2:$D$13,"<="&L2,$E$2:$E$13,">="&L2)
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
hi,
Just add ",$B$2:$B$13,N2,$C$2:$C$13,P2)" after L2. then the formula will work.
 
Upvote 0
the same is working but i want >=100 for formula P2 column means in P2 column there will be 100 or more ach% now reflecting zero as per below

grid

ACSS3100223000999999975000

<tbody>
</tbody>

data

ACSS3110750000

<tbody>
</tbody>


formula:-
=SUMIFS($F$2:$F$12,$A$2:$A$12,I12,$D$2:$D$12,"<="&L12,$E$2:$E$12,">="&L12,$B$2:$B$12,J12,$C$2:$C$12,K12)
 
Upvote 0
As per the formula if I enter "AC" in I12, "SS3" in J12, "100" in K12 and anything from 264000 to 340999 in L12 I am getting the output as 75000

75000(Output) AC(I12)SS3(j12)100(k12)264025(L12)

<tbody>
</tbody>

It should work.
 
Last edited:
Upvote 0
=SUMIFS($F$2:$F$12,$A$2:$A$12,I12,$D$2:$D$12,"<="&L12,$E$2:$E$12,">="&L12,$B$2:$B$12,J12,$C$2:$C$12,">="&K12)

Changed formula
 
Upvote 0
$C$2:$C$12,">="&K12) -- if $C$2:$C$12, == 100 then k12 must be less than 100 to qualify the criteria as i understood it should be reverse, it is correct
 
Upvote 0
If k12 value will not be more than 100 then <= will work.

"<="&K12

and if K12 value will be more than 100 >= will work
">="&k12


 
Upvote 0

Forum statistics

Threads
1,214,563
Messages
6,120,248
Members
448,952
Latest member
kjurney

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