+ Reply to Thread
Results 1 to 2 of 2

Entering text in one cell, affects the value of another

  1. #1
    Registered User
    Join Date
    01-06-2013
    Location
    Manchester, England
    MS-Off Ver
    Excel 2010
    Posts
    9

    Entering text in one cell, affects the value of another

    Hi I'm new to this forum so please be kind and help me.
    I want to create a cell which when a "Y" is entered, I want it to half the value of another cell which is using a lookup function.

    To clarify, cell I4 has a vlookup function which converts a percentage in H4. into minutes of downtime within an hour. I want to add a "Y" which will indicate half the time worked, to cell C4 which will half the minutes downtime shown in I4

    Any help would be greatly appreciated.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Entering text in one cell, affects the value of another

    change the formula with in i4 with the vlookup to
    =if(c4="y",vlookupformula/2,vlookupformula)
    or =vlookupformula/if(c4="y",2,1)
    Last edited by martindwilson; 01-06-2013 at 01:34 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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