Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

lookup with "IF" condition

Posted on 2013-12-18
2
Medium Priority
?
195 Views
Last Modified: 2013-12-18
Hello!

I have a column with numbers. Some of them have 0 as a starting digit and some don't have "0" in front. I need to identify those that don't have zero. For example, if A1 has "0", then "Option A", if there is no "0" then "Option B"

Thanks
0
Comment
Question by:Ladkisson
[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
2 Comments
 
LVL 14

Accepted Solution

by:
Geisrud earned 1200 total points
ID: 39727229
The following formula checks if cell A1 begins with a 0.  If it does, then performs your "Option A", otherwise it performs your "Option B"

=IF(LEFT(A1)="0","Option A","Option B")
0
 

Author Closing Comment

by:Ladkisson
ID: 39727242
Wonderful! Thanks!!
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

688 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