Excel sumif is not <>

Akbarov

Active Member
Joined
Jun 30, 2018
Messages
347
Office Version
  1. 365
Platform
  1. Windows
Hey community,

i wanna know how can i ask excel to sum if list1 is not on list2



Sheets("DATA").Cells(5, "V") = [sum(if((isnumber(match(list1,list3,0)))*(sifaris>0)*(list1<>list2)*,printed))]
Can anybody help me please?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
[TABLE="width: 1686"]
<tbody>[TR]
[TD="align: right"]434300[/TD]
[TD]ALBALI PET 1 LT[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552095[/TD]
[TD="align: right"]2762565[/TD]
[TD="align: right"]21[/TD]
[TD]MARKET BAKIXANOV RAZIN 1[/TD]
[TD]300[/TD]
[TD]ZAUR YRAMOV[/TD]
[TD]QK[/TD]
[TD]KHAN SADIQOV[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]101900[/TD]
[TD]OLA PET 1 LT[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41553499[/TD]
[TD="align: right"]152556[/TD]
[TD="align: right"]0[/TD]
[TD]ZABRAT BAYISI[/TD]
[TD]320[/TD]
[TD]HABIL FTEROV[/TD]
[TD]QQ[/TD]
[TD]XTIYAR RUSTAMOV[/TD]
[TD="align: right"]280[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]280[/TD]
[/TR]
[TR]
[TD="align: right"]434300[/TD]
[TD]APPY ALBALI PET 1 LT[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41553309[/TD]
[TD="align: right"]5762569[/TD]
[TD="align: right"]0[/TD]
[TD]SAR M-T RAZIN[/TD]
[TD]300[/TD]
[TD]ZAUR BAAMOV[/TD]
[TD]QK[/TD]
[TD]OHAN SADIQOV[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD="align: right"]434300[/TD]
[TD]APPY ALBALI PET 1 LT[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552145[/TD]
[TD="align: right"]6762562[/TD]
[TD="align: right"]0[/TD]
[TD]SAR MARKET AXUNDOV[/TD]
[TD]300[/TD]
[TD]ZAUR BAYMOV[/TD]
[TD]QS[/TD]
[TD]SAIR ISMAYILOV[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD="align: right"]434300[/TD]
[TD]APPY ALBALI PET 1 LT[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552897[/TD]
[TD="align: right"]185691[/TD]
[TD="align: right"]0[/TD]
[TD]DAUD MARKET BILECERI[/TD]
[TD]300[/TD]
[TD]ZAUR BAAMOV[/TD]
[TD]QS[/TD]
[TD]SMIR ISMAYILOV[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]929700[/TD]
[TD]FANTA DUSES PET 0.5LX12[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552640[/TD]
[TD="align: right"]177855[/TD]
[TD="align: right"]2[/TD]
[TD]ESCO-1 JALE PLAZA[/TD]
[TD]300[/TD]
[TD]ZAUR BAYMOV[/TD]
[TD]QS[/TD]
[TD]SIR ISMAYILOV[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]434300[/TD]
[TD]CAPPY ALBALI PET 1 LT[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552657[/TD]
[TD="align: right"]177855[/TD]
[TD="align: right"]2[/TD]
[TD]ESCO-1 JALE PLAZA[/TD]
[TD]300[/TD]
[TD]ZAUR BAAMOV[/TD]
[TD]QS[/TD]
[TD]AMIR ISMAYILOV[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]641500[/TD]
[TD]USE TEA MANGO-CAMOMMILE P0.5[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552921[/TD]
[TD="align: right"]177407[/TD]
[TD="align: right"]0[/TD]
[TD]HIPPER MARKET[/TD]
[TD]300[/TD]
[TD]ZAUR BAAMOV[/TD]
[TD]QS[/TD]
[TD]MIR ISMAYILOV[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]671200[/TD]
[TD]USE TEA QARPIZ PET 0,5LT[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552921[/TD]
[TD="align: right"]177407[/TD]
[TD="align: right"]0[/TD]
[TD]HIPPER MARKET[/TD]
[TD]300[/TD]
[TD]ZAUR BAAMOV[/TD]
[TD]QS[/TD]
[TD]SAR ISMAYILOV[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]434300[/TD]
[TD]APPY ALBALI PET 1 LT[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552202[/TD]
[TD="align: right"]4762572[/TD]
[TD="align: right"]21[/TD]
[TD] MARKET GENCE PROSPEKTI[/TD]
[TD]300[/TD]
[TD]UR BAYRAMOV[/TD]
[TD]QK[/TD]
[TD]OHAN SADIQOV[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]671200[/TD]
[TD]USE TEA QARPIZ PET 0,5LT[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552814[/TD]
[TD="align: right"]179777[/TD]
[TD="align: right"]0[/TD]
[TD]BEEQROS MARKET[/TD]
[TD]300[/TD]
[TD]ZAUR BRAMOV[/TD]
[TD]QS[/TD]
[TD]SAM ISMAYILOV[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD="align: right"]434300[/TD]
[TD]APPY ALBALI PET 1 LT[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552293[/TD]
[TD="align: right"]1818935[/TD]
[TD="align: right"]0[/TD]
[TD]AKRO MARKET MONTIN[/TD]
[TD]300[/TD]
[TD]ZAUR BRAMO[/TD]
[TD]QK[/TD]
[TD]ORKHAN SAQOV[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD="align: right"]641500[/TD]
[TD]USE TEA MANGO-CAMOMMILE P0.5[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552624[/TD]
[TD="align: right"]4762570[/TD]
[TD="align: right"]0[/TD]
[TD]RAZ MARKET 6 MKR LIBRA[/TD]
[TD]300[/TD]
[TD]UR BAYRAMOV[/TD]
[TD]QS[/TD]
[TD]SAMIR ISMAYOV[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]671200[/TD]
[TD]SE TEA QARPIZ PET 0,5LT[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41553176[/TD]
[TD="align: right"]1814917[/TD]
[TD="align: right"]0[/TD]
[TD]EGA MARKET INQLAB[/TD]
[TD]300[/TD]
[TD]ZAUR BAYMOV[/TD]
[TD]QS[/TD]
[TD]SAMIR ISMILOV[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]641500[/TD]
[TD]USE TEA MANGO-CAMOMMILE P0.5[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552681[/TD]
[TD="align: right"]176699[/TD]
[TD="align: right"]21[/TD]
[TD]RAZ MARKET OLIMPIKSTAR[/TD]
[TD]300[/TD]
[TD]ZAUR BAAMOV[/TD]
[TD]QS[/TD]
[TD]SAMIR ISMAYOV[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD="align: right"]929700[/TD]
[TD]NTA DUSES PET 0.5LX12[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552681[/TD]
[TD="align: right"]176699[/TD]
[TD="align: right"]21[/TD]
[TD]RAZ MARKET OLIMPIKSTAR[/TD]
[TD]300[/TD]
[TD]ZAUR BAYROV[/TD]
[TD]QS[/TD]
[TD]SAMIR ISMAYOV[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]434300[/TD]
[TD]APPY ALBALI PET 1 LT[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552103[/TD]
[TD="align: right"]1768354[/TD]
[TD="align: right"]18[/TD]
[TD]STORE MARKET AYGUN CITY[/TD]
[TD]300[/TD]
[TD]ZAUR BAAMOV[/TD]
[TD]QK[/TD]
[TD]ORKHAN SADOV[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD="align: right"]929700[/TD]
[TD]NTA DUSES PET 0.5LX12[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552111[/TD]
[TD="align: right"]1768354[/TD]
[TD="align: right"]18[/TD]
[TD]STORE MARKET AYGUN CITY[/TD]
[TD]300[/TD]
[TD]ZR BAYROV[/TD]
[TD]QK[/TD]
[TD]ORKHAN SADOV[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]434300[/TD]
[TD]APPY ALBALI PET 1 LT[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552558[/TD]
[TD="align: right"]6762574[/TD]
[TD="align: right"]0[/TD]
[TD]RAZ MARKET XIRDALAN BONUS[/TD]
[TD]300[/TD]
[TD]ZAUR BAYRV[/TD]
[TD]QS[/TD]
[TD]SAMIR ISMAYOV[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]641500[/TD]
[TD]SE TEA MANGO-CAMOMMILE P0.5[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41553036[/TD]
[TD="align: right"]2814912[/TD]
[TD="align: right"]0[/TD]
[TD]MGA MARKET QARACUXUR[/TD]
[TD]300[/TD]
[TD]ZAUR BRAMOV[/TD]
[TD]QK[/TD]
[TD]ORKHAN SADOV[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD="align: right"]434300[/TD]
[TD]APPY ALBALI PET 1 LT[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552780[/TD]
[TD="align: right"]1754191[/TD]
[TD="align: right"]2[/TD]
[TD]ESCO-3 ASAN XIDMET[/TD]
[TD]300[/TD]
[TD]ZAUR BAYRV[/TD]
[TD]QS[/TD]
[TD]SAMIR ISMAYOV[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]641500[/TD]
[TD]USE TEA MANGO-CAMOMMILE P0.5[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41553192[/TD]
[TD="align: right"]185584[/TD]
[TD="align: right"]0[/TD]
[TD]MONO-3[/TD]
[TD]300[/TD]
[TD]ZAUR BAYMOV[/TD]
[TD]QK[/TD]
[TD]ORKHAN SADOV[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]101800[/TD]
[TD]OLA QUTU 250ML 1X24[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552277[/TD]
[TD="align: right"]152282[/TD]
[TD="align: right"]0[/TD]
[TD]ADAG[/TD]
[TD]320[/TD]
[TD]HABIL SEEROV[/TD]
[TD]QQ[/TD]
[TD]BAXTIYAR RUAMOV[/TD]
[TD="align: right"]84[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]84[/TD]
[/TR]
[TR]
[TD="align: right"]929700[/TD]
[TD]NTA DUSES PET 0.5LX12[/TD]
[TD="align: right"]1180103[/TD]
[TD]ZAF41552210[/TD]
[TD="align: right"]176835[/TD]
[TD="align: right"]18[/TD]
[TD]STORE BABEK PROSPEKTI[/TD]
[TD]300[/TD]
[TD]ZAUR BAYMOV[/TD]
[TD]QK[/TD]
[TD]ORAN SADOV[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2[/TD]
[/TR]
</tbody>[/TABLE]

List4
[TABLE="width: 72"]
<tbody>[TR]
[TD="width: 72, align: right"]152224[/TD]
[/TR]
[TR]
[TD="align: right"]152152[/TD]
[/TR]
[TR]
[TD="align: right"]152556[/TD]
[/TR]
[TR]
[TD="align: right"]152650[/TD]
[/TR]
[TR]
[TD="align: right"]152226[/TD]
[/TR]
[TR]
[TD="align: right"]152912[/TD]
[/TR]
[TR]
[TD="align: right"]152672[/TD]
[/TR]
[TR]
[TD="align: right"]152631[/TD]
[/TR]
[TR]
[TD="align: right"]152258[/TD]
[/TR]
[TR]
[TD="align: right"]152632[/TD]
[/TR]
[TR]
[TD="align: right"]152333[/TD]
[/TR]
[TR]
[TD="align: right"]152630[/TD]
[/TR]
[TR]
[TD="align: right"]152836[/TD]
[/TR]
[TR]
[TD="align: right"]152612[/TD]
[/TR]
[TR]
[TD="align: right"]152922[/TD]
[/TR]
[TR]
[TD="align: right"]152920[/TD]
[/TR]
[TR]
[TD="align: right"]152554[/TD]
[/TR]
[TR]
[TD="align: right"]152417[/TD]
[/TR]
[TR]
[TD="align: right"]152181[/TD]
[/TR]
[TR]
[TD="align: right"]152419[/TD]
[/TR]
[TR]
[TD="align: right"]152237[/TD]
[/TR]
[TR]
[TD="align: right"]152282[/TD]
[/TR]
[TR]
[TD="align: right"]152596[/TD]
[/TR]
[TR]
[TD="align: right"]152720[/TD]
[/TR]
[TR]
[TD="align: right"]152605[/TD]
[/TR]
[TR]
[TD="align: right"]152997[/TD]
[/TR]
[TR]
[TD="align: right"]152678[/TD]
[/TR]
[TR]
[TD="align: right"]152430[/TD]
[/TR]
[TR]
[TD="align: right"]152067[/TD]
[/TR]
[TR]
[TD="align: right"]152987[/TD]
[/TR]
[TR]
[TD="class: xl71, align: right"]152895[/TD]
[/TR]
</tbody>[/TABLE]

Don't even know what i'v just posted))

BTW sorry for Mrs

So i need to count if list E:E ( list3 ) is not on list4 at the same time M:M > 0
 
Last edited:
Upvote 0
In that list col M is all 0, so there is nothing to sum.
 
Upvote 0
List is 500k row and M:M is my mistake it should be L:L

BTW list4 is in different sheet ("sheet4")
 
Last edited:
Upvote 0
With the data like

Excel 2013/2016
ABCDEFGHIJKLMN
1434300ALBALI PET 1 LT1180103ZAF41552095276256521MARKET BAKIXANOV RAZIN 1300ZAUR YRAMOVQKKHAN SADIQOV202
2101900OLA PET 1 LT1180103ZAF415534991525560ZABRAT BAYISI320HABIL FTEROVQQXTIYAR RUSTAMOV2800280
3434300APPY ALBALI PET 1 LT1180103ZAF4155330957625690SAR M-T RAZIN300ZAUR BAAMOVQKOHAN SADIQOV303
4434300APPY ALBALI PET 1 LT1180103ZAF4155214567625620SAR MARKET AXUNDOV300ZAUR BAYMOVQSSAIR ISMAYILOV505
5434300APPY ALBALI PET 1 LT1180103ZAF415528971856910DAUD MARKET BILECERI300ZAUR BAAMOVQSSMIR ISMAYILOV111
6929700FANTA DUSES PET 0.5LX121180103ZAF415526401778552ESCO-1 JALE PLAZA300ZAUR BAYMOVQSSIR ISMAYILOV222
7434300CAPPY ALBALI PET 1 LT1180103ZAF415526571778552ESCO-1 JALE PLAZA300ZAUR BAAMOVQSAMIR ISMAYILOV131
8641500USE TEA MANGO-CAMOMMILE P0.51180103ZAF415529211774070HIPPER MARKET300ZAUR BAAMOVQSMIR ISMAYILOV141
9671200USE TEA QARPIZ PET 0,5LT1180103ZAF415529211774070HIPPER MARKET300ZAUR BAAMOVQSSAR ISMAYILOV101
10434300APPY ALBALI PET 1 LT1180103ZAF41552202476257221MARKET GENCE PROSPEKTI300UR BAYRAMOVQKOHAN SADIQOV202
11671200USE TEA QARPIZ PET 0,5LT1180103ZAF415528141797770BEEQROS MARKET300ZAUR BRAMOVQSSAM ISMAYILOV303
12434300APPY ALBALI PET 1 LT1180103ZAF4155229318189350AKRO MARKET MONTIN300ZAUR BRAMOQKORKHAN SAQOV808
13641500USE TEA MANGO-CAMOMMILE P0.51180103ZAF4155262447625700RAZ MARKET 6 MKR LIBRA300UR BAYRAMOVQSSAMIR ISMAYOV202
14671200SE TEA QARPIZ PET 0,5LT1180103ZAF4155317618149170EGA MARKET INQLAB300ZAUR BAYMOVQSSAMIR ISMILOV202
15641500USE TEA MANGO-CAMOMMILE P0.51180103ZAF4155268117669921RAZ MARKET OLIMPIKSTAR300ZAUR BAAMOVQSSAMIR ISMAYOV303
16929700NTA DUSES PET 0.5LX121180103ZAF4155268117669921RAZ MARKET OLIMPIKSTAR300ZAUR BAYROVQSSAMIR ISMAYOV101
17434300APPY ALBALI PET 1 LT1180103ZAF41552103176835418STORE MARKET AYGUN CITY300ZAUR BAAMOVQKORKHAN SADOV505
18929700NTA DUSES PET 0.5LX121180103ZAF41552111176835418STORE MARKET AYGUN CITY300ZR BAYROVQKORKHAN SADOV101
19434300APPY ALBALI PET 1 LT1180103ZAF4155255867625740RAZ MARKET XIRDALAN BONUS300ZAUR BAYRVQSSAMIR ISMAYOV101
20641500SE TEA MANGO-CAMOMMILE P0.51180103ZAF4155303628149120MGA MARKET QARACUXUR300ZAUR BRAMOVQKORKHAN SADOV404
21434300APPY ALBALI PET 1 LT1180103ZAF4155278017541912ESCO-3 ASAN XIDMET300ZAUR BAYRVQSSAMIR ISMAYOV101
22641500USE TEA MANGO-CAMOMMILE P0.51180103ZAF415531921855840MONO-3300ZAUR BAYMOVQKORKHAN SADOV101
23101800OLA QUTU 250ML 1X241180103ZAF415522771522820ADAG320HABIL SEEROVQQBAXTIYAR RUAMOV84084
24929700NTA DUSES PET 0.5LX121180103ZAF4155221017683518STORE BABEK PROSPEKTI300ZAUR BAYMOVQKORAN SADOV202
data


And sheet 4 like

Excel 2013/2016
CAP
1434300152224
2101900152152
3434300152556
4434300152650
5434300152226
6929700152912
7434300152672
8641500152631
9671200152258
10434300152632
11152333
12152630
13152836
14152612
15152922
16152920
17152554
18152417
19152181
20152419
21152237
22152282
23152596
24152720
25152605
26152997
27152678
28152430
29152067
30152987
31152895
sheet4


What is your expected answer?
 
Upvote 0
If C <> AP
L:L>0
A:A is not blank
sum L:L
i need to sum all excepting AP:AP
 
Last edited:
Upvote 0
You code is looking to sum col M not L, maybe that is the problem.
If not please answer my question.
 
Upvote 0
I get error[TABLE="width: 96"]
<tbody>[TR]
[TD="width: 96, align: center"]#N/A[/TD]
[/TR]
</tbody>[/TABLE]

Code:
Sub aqua()
    Dim Markets As Worksheet
    Set Markets = Sheets("sheet4")
    Sheets("DATA").Range("A:A").Name = "Urun"
    Sheets("DATA").Range("L:L").Name = "Sifaris"
    Sheets("DATA").Range("M:M").Name = "Printed"
    Sheets("DATA").Range("E:E").Name = "Musteri"
    Markets.Range("c1:c20").Name = "MARKET"
    Markets.Range("ap1:ap31").Name = "bayi"
    Sheets("DATA").Cells(5, "V") = [sum(if((isnumber(match(urun,market,0)))*(sifaris>0)*(urun<>"")*(musteri<>bayi),printed))]
End Sub

L:L are orders and M:M successfully sent orders and most of products are sold succesfully
 
Last edited:
Upvote 0
Try this
Code:
Sub Bonaqua()
    Dim Markets As Worksheet
    Set Markets = Sheets("sheet4")
    Sheets("DATA").Range("A:A").Name = "list1"
    Sheets("DATA").Range("L:L").Name = "list2"
    Sheets("DATA").Range("M:M").Name = "Printed"
    Sheets("DATA").Range("E:E").Name = "list3"
    Sheets("sheet4").Range("AP:AP").Name = "list4"
    Markets.Range("c1:c20").Name = "MARKET"
    Sheets("DATA").Cells(4, "V") = [sum(if((isnumber(match(list1,market,0)))*(list2>0)*(list1<>"")*(not(isnumber(match(list3,list4,0)))),printed))]
End Sub
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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