Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

IF with timestamp

Posted on 2013-11-29
7
Medium Priority
?
193 Views
Last Modified: 2013-11-29
=IF(LEFT(B3,5)="Slide","",IF(RIGHT(B3,3)=time,"","Action"))


Im trying to ignore a row if it has a timestamp, my if above gives a #name error, can anyone advise how i could do this?

Thanks
0
Comment
Question by:Seamus2626
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 11

Expert Comment

by:SeanStrickland
ID: 39685401
Can you post a sample of the workbook and list the desired action?  Should be relatively simple.

Sean
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39685403
What is the result of

right(B3,3)
0
 

Author Comment

by:Seamus2626
ID: 39685448
04/11/2013  13:27:18

Thats the stamp

Result = 625
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 11

Accepted Solution

by:
SeanStrickland earned 2000 total points
ID: 39685463
If a time stamp does not exist in B3, what does?

If it's text or a blank cell, you can use this:
=IF(LEFT(B3,5)="Slide","",IF(AND(ISNUMBER(B3),B3>0),"","Action"))

or, more simply: (this would ignore blanks and text whereas the one above ignores negative values)

=IF(LEFT(B3,5)="Slide","",IF(ISNUMBER(B3),"","Action"))
0
 

Author Closing Comment

by:Seamus2626
ID: 39685482
Perfect
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39685496
I think this code will fail if the cell contains a numeric entry which is not a timestamp.
0
 
LVL 11

Expert Comment

by:SeanStrickland
ID: 39685594
Depends on your necessary usage.  Often times, you wouldn't use a column of data that's intended for a timestamp for anything more than a numerical timestamp, a blank cell, or maybe some descriptive text if it's a really simple spreadsheet.

Agreed, though - if you have a multi-functional column that contains a "value" field and you're using some sort of descriptor to differentiate it at a row-level, the code may fail.

Sean
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question