+ Reply to Thread
Results 1 to 3 of 3

Nested if-function - autosum

  1. #1
    Registered User
    Join Date
    02-18-2008
    Posts
    5

    Nested if-function - autosum

    Ok, let me start to describe what I want to do, and then how I've tried to solve the problem.

    I basically need a function that can do an autosum of 1-30 cells in a row. I know this can be achieved manually, but the point is to do this automatically.

    I've tried to solve this with a nested if-function, but as you might know (and as I dicovered), excel has a limit of 7 nested functions and I need about 30 levels to do what I want to do... There is probably a better way to do this with VBA, but I have limited experience with programming, so I need some help...

    You'll find my excel file attached.

    I hope there's someone out there who can help me...

    Regards,

    Vidar V.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    02-28-2006
    Posts
    690
    I would suggest you remove all the blank rows and populate, for EVERY row, Col A and col B with part 1 , 1.00 etc.

    Then use a sumproduct approach to add up all the numbers in col H against the relevant part number and area.

    In effect you would be creating a new summary table from your raw data.

  3. #3
    Registered User
    Join Date
    02-18-2008
    Posts
    5
    Ok, that would probably work, but the problem is that I'm trying to make a template that other people is going to work with, and to populate each row doesn't give me the functionality I'm looking for.. but thanks for the reply.
    Vidar V.
    Last edited by vvorland; 02-21-2008 at 11:12 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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