Formula to exclude data when using Today

Stryker2013

New Member
Joined
Jul 22, 2013
Messages
40
I have a ticketing system that has a status of all tickets. I also want to use the Today function to calculate the life of the tickets. I want to exclude the tickets that are in a specific status.
ABC
D​
EF
titlestatuspriority
owner​
create datelife
item 1BacklogHigh
me​
9/20/2023 11:525.51
item 2doinghigh
me​
9/20/2023 11:535.50

The formula I am using in column F is =Today()-E2. What I want is to add to the formula to ignore any calculation of column E and F if column B contains text I want to ignore as in this case it is "Backlog". If the date is ignored I would like the formula to insert in column F the Text "NA".


Can anyone assist?
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Not sure if i understand. But you want to put NA in the cell if "Backlog" is in B2, other wise subtract the date in E2 from TODAY()?
If so, try:

Excel Formula:
IF(B2="Backlog",NA(),Today()-E2)

If this isn't correct please post an example of TRUE and FALSE conditions and/or better explain the condition.
 
Upvote 0
try this
Book1
ABCDEF
1titlestatuspriorityownercreate datelife
2item 1BacklogHighme9/20/2023 11:52NA
3item 2doinghighme9/20/2023 11:535.50
Sheet1
Cell Formulas
RangeFormula
F2F2=IF(B2="Backlog","NA",TODAY()-E2)
F3F3=IF(B3="Backlog","N/A",TODAY()-E3)
 
Upvote 0

Forum statistics

Threads
1,215,108
Messages
6,123,128
Members
449,097
Latest member
mlckr

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