+ Reply to Thread
Results 1 to 6 of 6

How to eliminate the OFFSET funtion from excel equations

  1. #1
    Registered User
    Join Date
    10-24-2012
    Location
    Adelaide
    MS-Off Ver
    Excel 2019
    Posts
    79

    How to eliminate the OFFSET funtion from excel equations

    G'day Excel Forum

    I was wondering if someone might be able to help me modify a function.

    I've been struggling with a frustrating problem for months now and consistently failed to find the problem, I think now at long last I've figured out that the culprit is the volatile OFFSET function in 2 of my equations.

    To see if this is indeed the case I'm attempting to modify the equations in H3 and H4 (columns F and G respectively of the attached spreadsheet) such that they function as they do now (and importantly still use the named ranges to do so) however don't rely on the OFFSET function or any other volatile functions.

    I've read around online and played around with the equation a bit but I haven't been able to see a clear way of replacing the OFFSET function in these equations.

    Can anyone help me out on this one?

    Regards

    MattRNR
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: How to eliminate the OFFSET funtion from excel equations

    D9
    Please Login or Register  to view this content.
    F9
    Please Login or Register  to view this content.
    G9
    Please Login or Register  to view this content.
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: How to eliminate the OFFSET funtion from excel equations

    I have no idea what are you doing around with OFFSET, but with your desired results, try:
    F9:
    =IF([@H2]=0,"",SUM(D9:$D$41))
    G9:
    =IFERROR(INDEX([H1],MATCH(LARGE([H3],ROWS($1:1)),[H3],0)),"")
    Drag both down.

    By the way, if [H2] and [H3] is helper columns and they can be removed, one formula in G9 to refer to [H1] only

    Please Login or Register  to view this content.
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Quang PT

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: How to eliminate the OFFSET funtion from excel equations

    Quote Originally Posted by bebo021999 View Post
    I have no idea what are you doing around with OFFSET, but with your desired results, try:
    F9:
    =IF([@H2]=0,"",SUM(D9:$D$41))
    G9:
    =IFERROR(INDEX([H1],MATCH(LARGE([H3],ROWS($1:1)),[H3],0)),"")
    Drag both down.

    By the way, if [H2] and [H3] is helper columns and they can be removed, one formula in G9 to refer to [H1] only

    Please Login or Register  to view this content.
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Hi, bebo021999, if the data in rows increased (when updating data) your formula in F9 (Column F) will not update automatically.

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: How to eliminate the OFFSET funtion from excel equations

    Quote Originally Posted by nflsales View Post
    Hi, bebo021999, if the data in rows increased (when updating data) your formula in F9 (Column F) will not update automatically.
    Correct! Maybe use D9:$D$42 instead of D9:$D$41.

  6. #6
    Registered User
    Join Date
    10-24-2012
    Location
    Adelaide
    MS-Off Ver
    Excel 2019
    Posts
    79

    Re: How to eliminate the OFFSET funtion from excel equations

    G’day Siva and Quang

    My apologies for taking so long to get back to you, both of your formula have worked perfectly, thank you for taking the time to help, really appreciate it.

    Regards
    MattRNR

+ 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. Excel Equations
    By ronnie_olivier in forum Excel General
    Replies: 10
    Last Post: 11-12-2014, 11:35 AM
  2. Offset Equations for Column
    By Ohaern in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-20-2011, 03:09 PM
  3. Excel 2007 : Excel funtion help
    By imreboti in forum Excel General
    Replies: 1
    Last Post: 07-05-2011, 07:06 AM
  4. Excel equations
    By ATK in forum Excel General
    Replies: 3
    Last Post: 10-03-2005, 05:05 PM
  5. [SOLVED] Is there a Division funtion in Excel?
    By Seaflower in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  6. Is there a Division funtion in Excel?
    By Seaflower in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-29-2005, 10:05 PM
  7. [SOLVED] Excel equations...
    By thanatologist in forum Excel General
    Replies: 2
    Last Post: 03-24-2005, 10:06 PM

Tags for this Thread

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