multi level formul ifs counta mistake

rjmdc

Well-known Member
Joined
Apr 29, 2020
Messages
676
Office Version
  1. 365
Platform
  1. Windows
hi
this is the original formula
=@IFS([@TABS]="","",AND([@TABS]<>"",COUNTA(Table2[@[Packet Ready to Print]:[Signed Doc Received snail mail]])=0), 7,AND([@TABS]<>"",[@[Packet Ready to Print]]="To Print"),5,AND([@TABS]<>"",[@[Packet Ready to Print]]="printed",[@[Packet Sent ]]=""),4,AND([@TABS]<>"",[@[Launched Date
DONE]]<>"",[@[Signed Doc Received Email]]="",[@[Signed Doc Received snail mail]]=""), 6,AND([@TABS]<>"",[@[Launched Date
DONE]]<>"",OR([@[Signed Doc Received Email]]<>"",[@[Signed Doc Received snail mail]]<>"")),0,AND([@TABS]<>"",[@[Packet Sent ]]<>"",[@[Meeting Date]]=""),3,AND([@TABS]<>[@[Meeting Date]]<>"",[@[Launched Date
DONE]]=""),1,AND([@TABS]<>"",[@[Invite Sent]]<>""),2)

i need to add: AND([@TABS]<>"",[@[Invite Sent]]="TERMINATED"),8 but itserroring since i dont know where to put it
 

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.
You don't need to keep testing [@TABS]<>"" since the first part of your formula already covers what will happen if it is "". That new condition needs to go before the last one as you are testing the same column:

Excel Formula:
=@IFS([@TABS]="","",COUNTA(Table2[@[Packet Ready to Print]:[Signed Doc Received snail mail]])=0, 7,[@[Packet Ready to Print]]="To Print",5,AND([@[Packet Ready to Print]]="printed",[@[Packet Sent ]]=""),4,AND([@[Launched Date
DONE]]<>"",[@[Signed Doc Received Email]]="",[@[Signed Doc Received snail mail]]=""), 6,AND([@[Launched Date
DONE]]<>"",OR([@[Signed Doc Received Email]]<>"",[@[Signed Doc Received snail mail]]<>"")),0,AND([@[Packet Sent ]]<>"",[@[Meeting Date]]=""),3,AND([@[Meeting Date]]<>"",[@[Launched Date
DONE]]=""),1,[@[Invite Sent]]="TERMINATED",8,[@[Invite Sent]]<>"",2)
 
Upvote 0
how do i do that since invite sent not blank is 2 i need not blank and not terminated is 2 and if terminated 8
please help me
thanks
 
Upvote 0
Did you try the formula I posted?
 
Upvote 0
I've just created a table with those columns and the formula is fine.
 
Upvote 0
this is what i get
1697097691056.png
 
Upvote 0
this is what i copied
=@IFS([@TABS]="","",COUNTA(Table2[@[Packet Ready to Print]:[Signed Doc Received snail mail]])=0, 7,[@[Packet Ready to Print]]="To Print",5,AND([@[Packet Ready to Print]]="printed",[@[Packet Sent ]]=""),4,AND([@[Launched Date
DONE]]<>"",[@[Signed Doc Received Email]]="",[@[Signed Doc Received snail mail]]=""), 6,AND([@[Launched Date
DONE]]<>"",OR([@[Signed Doc Received Email]]<>"",[@[Signed Doc Received snail mail]]<>"")),0,AND([@[Packet Sent ]]<>"",[@[Meeting Date]]=""),3,AND([@[Meeting Date]]<>"",[@[Launched Date
DONE]]=""),1,[@[Invite Sent]]="TERMINATED",8,[@[Invite Sent]]<>"",2)
 
Upvote 0
Yes, I just pasted that from your post into a table and it worked. I suspect one of the column names is not right. Can you copy and paste your original formula from the forum into the table?
 
Upvote 0
explain
what should i do with the original formula?
 
Upvote 0

Forum statistics

Threads
1,216,761
Messages
6,132,568
Members
449,736
Latest member
anthx

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