+ Reply to Thread
Results 1 to 4 of 4

Print word based on value of column

  1. #1
    Registered User
    Join Date
    04-18-2012
    Location
    no
    MS-Off Ver
    Excel 2007
    Posts
    47

    Question Print word based on value of column

    Hi,

    Please see attached.

    In column M of sheet "Data" I would like a macro to print the word "New" if the
    value for "days opened" in column L is "0". Eg. Column M2 and Column M9 should have the values
    "New".

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565

    Re: Print word based on value of column

    Hi there,

    You don't need a macro, just put this formula...

    =IF(L2=0,"New","")

    ...into cell M2 and fill down to M9.

    HTH

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Registered User
    Join Date
    04-18-2012
    Location
    no
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re: Print word based on value of column

    Hey Trebor76,

    It works =] Thanks for you help

  4. #4
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565

    Re: Print word based on value of column

    You're welcome

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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