+ Reply to Thread
Results 1 to 5 of 5

If value greater than 0.05, then write a value of 1 in adjacent cell

  1. #1
    Registered User
    Join Date
    09-27-2012
    Location
    Cambridge, England
    MS-Off Ver
    Excel 2010
    Posts
    9

    If value greater than 0.05, then write a value of 1 in adjacent cell

    Hello,
    Sorry I am a complete noob when it comes to Excel and I'm in some serious need of help with what I believe is a fairly simple thing:

    I have a column full of values, and I am interested to know whether each of the values has exceeded 0.05. I would like to write a formula so that in the adjacent column, it can simply place a "1" in the cell of the value adjacent to it is greater than 0.05, and a "0" if it is less than 0.05.

    Can someone help me please?

    Thanks!

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: If value greater than 0.05, then write a value of 1 in adjacent cell

    Hello
    If your value was for example in A1:

    Please Login or Register  to view this content.
    If the cell is empty or equal to 0.05 then it returns empty.

    Hope this helps.
    DBY

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: If value greater than 0.05, then write a value of 1 in adjacent cell

    You don't say what to do if the value is equal to .05 so I included it with the values >.05

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: If value greater than 0.05, then write a value of 1 in adjacent cell

    @DBY - surely the "AND" is superfluous, as the cell cannot be both blank, AND have a value?

    I think a more straightforward approach would be:

    Please Login or Register  to view this content.

    @Boosted7 - please note that a cell value of 0.05 is not catered for in the information you have provided.
    Brendan.


    __________________________________________________________________________________________________
    Things to consider:

    1) You can thank any poster by clicking the * at the left of a helpful post.
    2) You can help to keep the forum tidy by marking your thread as "Solved", if it has been answered to your satisfaction.
    3) Help us to help you, by uploading a sample workbook, showing the type of data you're dealing with, and clearly indicating what the results should be.

  5. #5
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: If value greater than 0.05, then write a value of 1 in adjacent cell

    @Brendan, the OP requested that the formula return a '0' if the value was less than 0.05. Without the 'And' criteria it returned a '0' if blank, which I assumed wasn't wanted. Your formula returns only blank or False. I think it's all academic anyhow as Boosted7 has not acknowledged any of our replies. So perhaps all are unsuitable.

    DBY

+ 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. Copy adjacent cell to next tab if cell is greater than 1
    By markac87 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-24-2013, 04:19 PM
  2. range find data and write to adjacent cell
    By cdy3900 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-18-2013, 11:32 PM
  3. Fill Series if adjacent cell value is greater than zero
    By maxflower in forum Excel General
    Replies: 2
    Last Post: 02-12-2012, 07:20 PM
  4. Userform Find Cell from ComboBox Value and write to adjacent cell
    By msommerf in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2010, 11:38 AM
  5. VB - Write in adjacent cell given certain criteria
    By adgjqetuo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-26-2009, 01:07 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