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
 
Copy it from your first post here and paste it into a cell in whatever column in your table it originally came from.
 
Upvote 0

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
i set it up so iu can see clearly the numbers
your formula produces the error notr a formul
=@IFS([@TABS]="","",COUNTA(Table2[@[Packet Ready to Print]:[Signed Doc Received snail mail]])=0, 7,
AND([@TABS]<>"",[@[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)

original formula produces the #NA instead of the 8 that i need which is breaking other books that PQ

=@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)

please help amend yours so it works
 
Upvote 0
What is the actual name of your Launched Date DONE column? The one you posted originally had a carriage return in it after the word Date, but neither of the ones you posted just now do.
 
Upvote 0
If there is no carriage return in the actual name, then the formula is:

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
Launched Date
DONE
seems lik there is a carriage return
 
Upvote 0
i tried with a carriage return it still says ot a fomula
 
Upvote 0
Did you try what I said about copying your original formula from the forum and pasting it back into the original table? If so, did it work?

All I can tell you is that the formula I posted does work on a table set up using the headers from your original formula as posted.
 
Upvote 0
still says not a formula
=@IFS([@TABS]="","",COUNTA(Table2[@[Packet Ready to Print]:[Signed Doc Received snail mail]])=0, 7,
AND([@TABS]<>"",[@[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
Did you try what I said about copying your original formula from the forum and pasting it back into the original table? If so, did it work?
 
Upvote 0
my original formula gives me the #NA
i need to fix that with the terminated clause
please help me add the terminated =8 so i dont get the #NA
 
Upvote 0

Forum statistics

Threads
1,216,671
Messages
6,132,041
Members
449,697
Latest member
bororob85

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