+ Reply to Thread
Results 1 to 5 of 5

How to adjust IF formula to different cells?

  1. #1
    Valued Forum Contributor
    Join Date
    12-22-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003 & Excel/Access 2007
    Posts
    438

    How to adjust IF formula to different cells?

    This “IF” example formula on cell A1

    =if(D5=”1”,”10”,””)

    Will return 10 if D5 has 1… is it possible to have the formula in another cell but still return the value in cell A1???

  2. #2
    Valued Forum Contributor
    Join Date
    11-11-2008
    Location
    Euro
    MS-Off Ver
    2007, 2010
    Posts
    470

    Re: How to adjust IF formula to different cells?

    oh, may be
    =IF(D5=1,10,"")
    and another cell?

    I couldn't catch your point

  3. #3
    Valued Forum Contributor
    Join Date
    12-22-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003 & Excel/Access 2007
    Posts
    438

    Re: How to adjust IF formula to different cells?

    well I want the formula to be in cell let's say L10 but return the value to A1.....

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: How to adjust IF formula to different cells?

    No, it's not possible to have a formula in one cell return its result to another, other than to simply put a formula in A1 to reflect that cell's value.

    But there's no reason not to simply put your function IN cell A1 since that's where you want the see the result.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  5. #5
    Valued Forum Contributor
    Join Date
    11-11-2008
    Location
    Euro
    MS-Off Ver
    2007, 2010
    Posts
    470

    Re: How to adjust IF formula to different cells?

    Quote Originally Posted by jgomez View Post
    well I want the formula to be in cell let's say L10 but return the value to A1.....
    It sound strange,
    You try
    at A1: =L10
    at L10: =IF(D5=1,10,"")

+ 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