+ Reply to Thread
Results 1 to 6 of 6

Excel Function, Please Help Me

  1. #1
    Registered User
    Join Date
    11-28-2013
    Location
    Jakarta
    MS-Off Ver
    Excel 2019
    Posts
    22

    Question Excel Function, Please Help Me

    For instance:

    .. A B
    1 1 ?
    2 1
    3 1
    4 1
    5 1
    6 2 ?
    7 1 ?
    8 1
    9 1
    10 2

    Anyone know the function to make:
    B1 = A6 – A1 (2-1=1)
    B6 = A7 – A6 (1-2=-1)
    B7 = A10 – A7 (2-1=1)

    Reduced cell surely is the cell beside, ex: [B1=?–A1] [B6=?–A6] [B7=?–A7]
    To reduce cell must find the nearest cell which contain different value from cells before.

    Is there any function in excel to do that? Please help.

    Thank you.
    Last edited by albertcri; 11-29-2013 at 12:42 AM.

  2. #2
    Registered User
    Join Date
    11-28-2013
    Location
    Jakarta
    MS-Off Ver
    Excel 2019
    Posts
    22

    Re: Excel Function, Please Help Me


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,774

    Re: Excel Function, Please Help Me

    Try:

    In B2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and copy down.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    11-28-2013
    Location
    Jakarta
    MS-Off Ver
    Excel 2019
    Posts
    22

    Re: Excel Function, Please Help Me

    Quote Originally Posted by TMShucks View Post
    Try:

    In B2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and copy down.


    Regards, TMS
    Can't brother. The cell in B1 is blank.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,774

    Re: Excel Function, Please Help Me

    What's that got to do with anything?

  6. #6
    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,946

    Re: Excel Function, Please Help Me

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem. Once you have done this please send me a PM and I will remove this request. (Also, include a link to your thread - copy from the adress bar)

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    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

+ 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 Match Function not working with Right function.
    By swap579579 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-16-2013, 09:00 PM
  2. Replies: 1
    Last Post: 03-21-2012, 11:22 AM
  3. Replies: 2
    Last Post: 03-30-2009, 04:04 AM
  4. Javascript function converting to Excel function
    By kamila in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-31-2007, 07:06 AM
  5. [SOLVED] Excel - User Defined Function Error: This function takes no argume
    By BruceInCalgary in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-18-2006, 04:05 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