Explain formula

LoganTrk

New Member
Joined
Jan 24, 2019
Messages
17
Somebody explain me this formula please. I need your help
=IF(E3=0;"";IF(COUNTIFS(G:G;G3;AD:AD;">="&AD3;AD:AD;"<="&AE3)>1;"WRONG";"OK"))
G
AD
AE

10000571
13/12/2018 15:30
13/12/2018 19:30
OK
10000571
13/12/2018 15:30
13/12/2018 19:30
OK
11500834
06/12/2018 15:00

06/12/2018 21:00

WRONG






<tbody>
</tbody>
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
IF(logical_test,value_if_true,value_if_false)

If E3=0 then return blank, that is what "" is. if E3 is not 0,logical text is false, then the second if statement is run the COUNTIFS will count based on the criteria of value in G = G3 AND Value in AD is greater than or equal to AD3 AND AD is less than or equal to AE3. If that count is greater then 1 the WRONG is returned if not then "OK" is returned.
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,728
Members
448,987
Latest member
marion_davis

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