+ Reply to Thread
Results 1 to 4 of 4

Pull data from a cell relative to a function

  1. #1
    Registered User
    Join Date
    03-05-2014
    Location
    A House
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question Pull data from a cell relative to a function

    I have searched this forum for something similar but haven't found what I was looking.
    Yes I'm looking for help and yes I'm a novice.

    I am looking to Have a cell value that would be a max limit in relation to a function.

    So A1=4
    B1=9 B2=2
    I want to try and make This =IF(B1-B2>0,ROUND(((B1-B2)),0),0)
    and incorporate this into it =IF(result of last function>=A1,A1,result of function)

    I want to be able to change the value of A1 and have it be reflected into the formula.

    Does this make sense? Im not sure how to put it all together.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Pull data from a cell relative to a function

    Hi and welcome ot the forum

    Maybe this?

    =IF(IF(B1-B2>0,ROUND(((B1-B2)),0),0)>=A1,A1,IF(B1-B2>0,ROUND(((B1-B2)),0),0))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    03-05-2014
    Location
    A House
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Pull data from a cell relative to a function

    Yes, I knew there had to be a way to nest that in there, Thank you!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Pull data from a cell relative to a function

    Happy to help and thanks for the feedback

+ 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. [SOLVED] Pull down forumlae for relative Sheet reference
    By BrettE in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-21-2012, 08:52 PM
  2. How to run a function relative to a different cell?
    By GSM in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-21-2011, 11:47 AM
  3. Function to Mirroring Cell Relative to Function's Location
    By ComcoDG in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 07-18-2008, 07:50 PM
  4. Using a relative cell reference in a function
    By john williams in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-23-2007, 06:49 AM
  5. Get Relative Data from result of MIN function
    By bigmacrox in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-04-2006, 06:48 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