Case IF, count if

Sefty

Board Regular
Joined
Apr 5, 2022
Messages
68
Office Version
  1. 365
Platform
  1. Windows
Hello,
I need help, why is this formula an error?
What should the formula be like?
Thanks
Keterkaitan Struktur AP Transformasi Sosial _Mengikuti Hotel_ (2).xlsx
ABCDEFGHITUVWX
1Kriteria WajibKP Transformatif
2ahaKodeXXXXXXXXXXXX
20KP01.01.01XXXXXXXvv#VALUE!
21KPXXXXXvv0
22KPXXXXXvv0
23KPXXXXXvv0
24KPXXXXXvv0
25KPXXXXXvv0
26KPXXXXXvv0
27KPXXXXXvv0
28KPXXXXXvv0
29KPXXXXXvv0
30KPXXXXXvv0
55KP01.01.02XXXXXXXvv#VALUE!
56KPXXXXXvv0
57KPXXXXXvv0
58KPXXXXXvv0
59KPXXXXXvv0
75KP01.01.03XXXXXXXvv#VALUE!
76KPXXXXXvv0
77KPXXXXXvv0
78KPXXXXXvv0
79KPXXXXXvv0
80KPXXXXXvv0
Form ceklis
Cell Formulas
RangeFormula
X75:X80,X55:X59,X20:X30X20=IF(AND(A20="KP", NOT(ISBLANK(B20))), IF(SUM(IF(U20:W20="v",1,0))>1, 1, 0), 0)
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
I don't know what achievement you want I see that you want to display the number "1" if A20 and B20 contain values, so is this formula correct?

Excel Formula:
=IF(AND(A20="KP", NOT(ISBLANK(B20))=TRUE), IF(COUNTIF(U20:W20,"v")>0, 1, 0), 0)
 
Upvote 0
Does this do what you want?

=(A20="KP")*(B20<>"")*(COUNTIF(U20:W20,"v")>0)
 
Upvote 0

Forum statistics

Threads
1,215,284
Messages
6,124,064
Members
449,139
Latest member
sramesh1024

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