+ Reply to Thread
Results 1 to 6 of 6

If/Then Formula Question

  1. #1
    Registered User
    Join Date
    10-19-2013
    Location
    Minden, Nevada
    MS-Off Ver
    Excel 2003
    Posts
    10

    If/Then Formula Question

    Hello,

    I have a column with both numeric and alphanumeric data. I am trying to write an if/then formula that will say this: if this cell is numeric only, then....otherwise....

    Any thoughts?

    Thank you!

  2. #2
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: If/Then Formula Question

    Hi, use the Isnumber Function


    http://www.techonthenet.com/excel/formulas/isnumber.php

  3. #3
    Registered User
    Join Date
    03-21-2012
    Location
    Bay Area, California
    MS-Off Ver
    Excel 2011 & 2010
    Posts
    52

    Re: If/Then Formula Question

    Hello,

    Try:
    =IF(ISNUMBER(CELL),"YES","NO")

    HTH =)

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: If/Then Formula Question

    Hi and welcome to the forum

    Maybe...
    =if(isnumber(A1),B1,C1)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    10-19-2013
    Location
    Minden, Nevada
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: If/Then Formula Question

    It worked!!

    Thank you all!!

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: If/Then Formula Question

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 03-04-2012, 12:03 AM
  2. Replies: 2
    Last Post: 10-08-2009, 09:51 PM
  3. [SOLVED] Formula question-change formula based cell calling it?
    By seethesun in forum Excel General
    Replies: 2
    Last Post: 02-08-2009, 01:39 PM
  4. Replies: 3
    Last Post: 05-05-2006, 12:55 PM
  5. IF formula question:edit the fist half of the original formula
    By impress in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-13-2006, 08:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1