1. Welcome! Please take a few seconds to create your free account to post threads, make some friends, remove a few ads while surfing and much more. ClutchFans has been bringing fans together to talk Houston Sports since 1996. Join us!

[HELP]Excel 2007

Discussion in 'BBS Hangout' started by The_Yoyo, May 20, 2008.

Tags:
  1. The_Yoyo

    The_Yoyo Member

    Joined:
    Dec 25, 2001
    Messages:
    16,683
    Likes Received:
    2,873
    hey excel people out there I had a quick question never did anything like this in Excel before myself so here we go:

    I have a generated export of data that I have formatted in excel and I am making some of my eval statements of the data in excel. Now the amount of data varies from day to day but I want to somehow create a macro/formula so excel knows to sum up all the data in column K or L etc without having to factoring in the number of rows in that column.

    We are creating an overall keyboard/mouse macro to run that whole data export process.
     
  2. Cesar^Geronimo

    Joined:
    Nov 5, 2003
    Messages:
    1,530
    Likes Received:
    7
    =sum(k2..k3000)

    It will sum whatever is there
     
  3. The_Yoyo

    The_Yoyo Member

    Joined:
    Dec 25, 2001
    Messages:
    16,683
    Likes Received:
    2,873

    even if i have over 10k rows of data? i dont want the sum to be in row 10001 when the data ends at row 2200 for a particular day.
     
  4. Cesar^Geronimo

    Joined:
    Nov 5, 2003
    Messages:
    1,530
    Likes Received:
    7
    gotcha -- if you need the sum to be in the last row (not on a summary worksheet etc...) you will need to write some kind of macro. Sorry
     
  5. JayZ750

    JayZ750 Member

    Joined:
    May 16, 2000
    Messages:
    25,432
    Likes Received:
    13,390
    you could write a macro but what cesar is proposing is to move the summation cell to the top, or some summary sheet. moving to the top is easiest.

    for easiest way to think about it, cell A1 = sum(A2:A65536).

    If you already have a macro that pulls your data starting in cell A1, just make B1 = sum(A1:A65536).

    If there is a bunch of different date you are doing formulas on, cesar's suggestion of using a summary tab would be best.
     

Share This Page

  • About ClutchFans

    Since 1996, ClutchFans has been loud and proud covering the Houston Rockets, helping set an industry standard for team fan sites. The forums have been a home for Houston sports fans as well as basketball fanatics around the globe.

  • Support ClutchFans!

    If you find that ClutchFans is a valuable resource for you, please consider becoming a Supporting Member. Supporting Members can upload photos and attachments directly to their posts, customize their user title and more. Gold Supporters see zero ads!


    Upgrade Now