+ Reply to Thread
Results 1 to 3 of 3

how can I SUM a variable number of cells from 1 to 52?

  1. #1
    Registered User
    Join Date
    04-09-2016
    Location
    republica dominicana
    MS-Off Ver
    2013
    Posts
    1

    Question how can I SUM a variable number of cells from 1 to 52?

    Hello, I need some help. I have to sum up to 52 week in one cell if on if the cell are identical then bring N/A. I was trying with the conditional if, but it stop in the condtion week 24. here a example that I did:

    IF ($C$1=$K1, K2, IF($C$1=$L1, SUM(K2:L2, IF($C$1=$M$1,SUM(K2:M2………. And so on, just to IF ($C1=$BW1, SUM(K2:BW2).

    Please I have to solve this problem as soon as posible. I will acept all recomenation.

    Regards
    Last edited by JuliaPedin; 04-10-2016 at 11:10 AM. Reason: Admin-Recomendation

  2. #2
    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,938

    Re: Is there any solution for this problem?

    Hi, welcome to the forum

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem - not what you think the answer might be. (think google search terms?). 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 address bar)

    Many members search our previous posts, and thread titles play a big part of the search. I doubt anybody would do a search based on your title?

    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.

    (note: this change is not optional )
    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

  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,463

    Re: Is there any solution for this problem?

    Please change your thread title as requested by the Forum Administrator. Then I can provide a solution.

    Maybe "how can I SUM a variable number of cells from 1 to 52”
    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


+ 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. Replies: 2
    Last Post: 10-21-2015, 02:36 AM
  2. Any solution for a lookup problem?
    By lukiebabie in forum Excel General
    Replies: 3
    Last Post: 11-25-2011, 09:58 AM
  3. solution:formula problem
    By cmgb802 in forum Excel General
    Replies: 1
    Last Post: 04-15-2010, 04:11 PM
  4. Best solution to this problem?
    By ehou5000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-14-2009, 10:44 PM
  5. Looking for a solution to a common problem
    By t1mmclaren in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-17-2009, 05:30 AM
  6. [SOLVED] I can't find the solution to my problem...
    By Paul in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-31-2006, 01:40 PM
  7. sum if problem, trying to find best solution
    By shalombi in forum Excel General
    Replies: 5
    Last Post: 05-31-2006, 07:57 AM

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