+ Reply to Thread
Results 1 to 9 of 9

If Function reading from another Sheet !

  1. #1
    Registered User
    Join Date
    02-09-2011
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    87

    Question If Function reading from another Sheet !

    ='Sheet2'! IF(C2>99,"yes")

    not working for me !

    C2 cell is in Sheet2


    How can I correct it?

  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: If Function reading from another Sheet !

    =if(sheet2!c2>99,"yes,"no")
    "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

  3. #3
    Registered User
    Join Date
    02-09-2011
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    87

    Re: If Function reading from another Sheet !

    Thanks, that is good, it can work, BUT

    The value of C2 is set to Percentage ! it is not reading it !


    Quote Originally Posted by martindwilson View Post
    =if(sheet2!c2>99,"yes,"no")

  4. #4
    Registered User
    Join Date
    02-09-2011
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    87

    Re: If Function reading from another Sheet !

    =IF(QTP-2-Create New Prospect!H21>99, "1", "0")

    This is my IF Function but when I click enter it is trying to Open a file reference !

    Also the cell H21 is a formatted as a Percentage

    How can I fix it?




    Quote Originally Posted by OceanBlue View Post
    Thanks, that is good, it can work, BUT

    The value of C2 is set to Percentage ! it is not reading it !

  5. #5
    Forum Contributor day92's Avatar
    Join Date
    04-20-2010
    Location
    Los Angeles
    MS-Off Ver
    Excel 360
    Posts
    600

    Re: If Function reading from another Sheet !

    Ocean - do you have a sample spreadsheet you can upload?

  6. #6
    Registered User
    Join Date
    02-09-2011
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    87

    Re: If Function reading from another Sheet !

    Attached,

    Notice the first sheet = Aspect RoadMap Cell H3

    Trying to read from sheet = QTP-2-Create New Prospect cell H21



    Quote Originally Posted by day92 View Post
    Ocean - do you have a sample spreadsheet you can upload?
    Attached Files Attached Files

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

    Re: If Function reading from another Sheet !

    maybe
    =IF('QTP-2-Create New Prospect'!H21>0.99, 1, 0) or
    =IF('QTP-2-Create New Prospect'!H21>99%, 1, 0)

    if sheet name has spaces it must be enclosed in single quotes,
    99%=0.99
    and you don't need"" around numbers "1","0"
    Last edited by martindwilson; 04-25-2011 at 07:32 PM.

  8. #8
    Forum Contributor day92's Avatar
    Join Date
    04-20-2010
    Location
    Los Angeles
    MS-Off Ver
    Excel 360
    Posts
    600

    Re: If Function reading from another Sheet !

    You were missing the quote after the sheet name. Try this...

    =IF('QTP-2-Create New Prospect'!H21>99, 1, 0)

  9. #9
    Registered User
    Join Date
    02-09-2011
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    87

    Re: If Function reading from another Sheet !

    YES, true, I was missing the comma and 0.99 works

    Here is the end result

    IF('QTP-2-Create New Prospect'!H21>0.99, 1, 0)

    Thanks guys.

+ 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