+ Reply to Thread
Results 1 to 6 of 6

Extending repeated if function for continuous cells

  1. #1
    Registered User
    Join Date
    03-20-2007
    Posts
    19

    Extending repeated if function for continuous cells

    My function is currently, =IF(ISNUMBER(C31),(C31)*C33+IF(ISNUMBER(D31),(D31)*D33+IF(ISNUMBER(E31),(E31)*E33)))

    This sucks that I will have to continue this loop all the way down to Q, any better way to do it?

    thanks in advance!

  2. #2
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    Would you try a User Defined Function ?
    Just keep it simple !


    http://www.excelguide.eu
    In English as well as in Dutch

  3. #3
    Registered User
    Join Date
    03-20-2007
    Posts
    19
    Huh? Isn't there anything built into Excel to handle loops or anything similar to this?

  4. #4
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    Not for as far as I know, but perhaps there is.

    I'd be glad to help you with a UDF if you want to.

    Erik

  5. #5
    Registered User
    Join Date
    03-20-2007
    Posts
    19
    anyone else?

    Or how would I make a function to do this?

  6. #6
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    See attached file.

    The MultiplyColumnIndex points to columns at the right (positive) as well as columns at the left (negative).

    Succes,
    Erik
    Attached Files Attached Files

+ 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