Lawless147

New Member
Joined
Nov 5, 2018
Messages
5
I am after some help please on the following if any of you kind people wouldn't mind.

I have this formula in a cell working fine

=IF(OR(Q27="",Q27="Yes",Q27="N/A",N27="Yes",J27="Gap",P27="Yes"),"",T27-TODAY())

but I want to add another function if possible which would be If V27=Fail, show-1000 in S27 and have this function overwrite the other commands above.
Is there a way to fit this in or do I need to go about it a different way.

Or what could be a simpler option is if V27=Fail I want this row to automatically go to the top of the spread sheet. I was going to have V27 = -1000 and then sort the spread sheet numerically but if there is a more direct way that would be better.

Any help would be much appreciated
Simon.
 

Some videos you may like

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
53,313
Office Version
  1. 365
Platform
  1. Windows
How about
=IF(V27="Fail",-1000,IF(OR(Q27="",Q27="Yes",Q27="N/A",N27="Yes",J27="Gap",P27="Yes"),"",T27-TODAY()))
 

Lawless147

New Member
Joined
Nov 5, 2018
Messages
5
Yep that's the one.
I tried a few like that just couldn't get it right so thank you for that, much appreciated.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
53,313
Office Version
  1. 365
Platform
  1. Windows
Glad to help & thanks for the feedback
 

Watch MrExcel Video

Forum statistics

Threads
1,123,351
Messages
5,601,127
Members
414,429
Latest member
Bilaal xaka

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
Top