+ Reply to Thread
Results 1 to 2 of 2

If statement - percentages and numbers

  1. #1
    Forum Contributor
    Join Date
    08-20-2012
    Location
    London,England
    MS-Off Ver
    Excel 2010
    Posts
    184

    If statement - percentages and numbers

    Hi,

    I have a simple IF statement, but a small problem. My column of data is a mixture of percentages and numbers. The formula needs to be 'If it is a percentage, IF(E7<D7,"N","Y") and if it is a number (IF(E7>D7,"N","Y"). Can I get the formula to work out if the cell is a percentage?

    Unfortunately, some of the numbers are 0 and so I can't even do a <1 scenario.

    Any help would be greatly appreciated.

    MTIA

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: If statement - percentages and numbers

    Hello milo1984,

    The way I would do it is by making use of two helper Columns, which you may place anywhere on the Sheet, change the Formula to refer to those Columns, and all should be well.

    Please see the attached sample Workbook.

    Hope that helps!
    Attached Files Attached Files
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

+ 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. Bar chart with percentages and numbers
    By Paul-NYS in forum Excel General
    Replies: 9
    Last Post: 01-26-2012, 11:19 AM
  2. Replies: 11
    Last Post: 10-05-2010, 01:51 AM
  3. using percentages in an if statement
    By matt in forum Excel General
    Replies: 2
    Last Post: 09-16-2005, 09:05 PM
  4. Change percentages to numbers
    By Peo Sjoblom in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 10:05 PM
  5. Change percentages to numbers
    By Anita in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-02-2005, 10:05 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