+ Reply to Thread
Results 1 to 8 of 8

Correct formula for adding columns based on previous row

  1. #1
    Registered User
    Join Date
    08-02-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    4

    Correct formula for adding columns based on previous row

    I am attempting to assemble a spreadsheet which will add player stats from a football match, from 2 different tables into 1.
    The tables are organised so that the playername is at the start of the row and the various starts follow it up. My issue with the formula is that certain players don't record any stats in a game and thus will not appear in one table but may appear in another.

    What formula would i be able to use, adding stats, based on the name at the start of the row?

    thanks

  2. #2
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: Correct formula for adding columns based on previous row

    Plz post a sample file along with the desired result
    Rgd
    RT
    If my answer(s) helped you, please add me reputation by click on *

  3. #3
    Registered User
    Join Date
    08-02-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Correct formula for adding columns based on previous row

    sample+desired result.xlsx

    the desired result is within the file. Thankyou

  4. #4
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: Correct formula for adding columns based on previous row

    Plz see the attachment
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-02-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Correct formula for adding columns based on previous row

    Thankyou so much!!
    If I wish to use this formula for other tables, which you be able to direct me to a link etc which would explain what to edit/explain it yourself

  6. #6
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: Correct formula for adding columns based on previous row

    OK
    Glad it help u.
    If the answer helped u plz click on the * to add to my reputation.

  7. #7
    Registered User
    Join Date
    08-02-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Correct formula for adding columns based on previous row

    how would i edit the formula so it will include stats for a player who appears only in one table?

  8. #8
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: Correct formula for adding columns based on previous row

    The formula that i have put will fetch data from both the table. If a player is in only one table the formula will fetch that data only

+ 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. Formula for adding specific values based on data in other columns
    By Adelade in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-08-2013, 05:15 AM
  2. adding two new columns ov info depending if names are correct
    By Blaino in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-28-2012, 07:53 AM
  3. Fill down two columns based on previous value until new value occurs
    By Lifeseeker in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2012, 07:24 PM
  4. Correct formula to display a condition based on previous column
    By capnhud in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-05-2011, 01:51 PM
  5. Macro for adding blank cells based on previous data
    By kelcomel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-19-2010, 12:41 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