+ Reply to Thread
Results 1 to 18 of 18

Formula Too Long Problem

Hybrid View

  1. #1
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,706

    Re: Formula Too Long Problem

    without changing your existing file {per request} the attached should work, and is non-volatile

    Formula: copy to clipboard
    'Parts Sold Table'!C3:
    SUM(CHOOSE(1+COLUMN('Parts Table'!$D8:$M8)-COLUMN('Parts Table'!$D8),'Units Sold by Model & Market'!C$3:C$22*'Parts Table'!$D3,'Units Sold by Model & Market'!C$24:C$43*'Parts Table'!$E3,'Units Sold by Model & Market'!C$45:C$64*'Parts Table'!$F3,'Units Sold by Model & Market'!C$66:C$85*'Parts Table'!$G3,'Units Sold by Model & Market'!C$87:C$106*'Parts Table'!$H3,'Units Sold by Model & Market'!C$108:C$127*'Parts Table'!$I3,'Units Sold by Model & Market'!C$129:C$148*'Parts Table'!$J3,'Units Sold by Model & Market'!C$150:C$169*'Parts Table'!$K3,'Units Sold by Model & Market'!C$171:C$190*'Parts Table'!$L3,'Units Sold by Model & Market'!C$192:C$211*'Parts Table'!$M3)*SIGN(TRANSPOSE('Parts Table'!$N3:$AG3)))
    confirmed with CTRL + SHIFT + ENTER
    applied to results matrix C3:N4
    if you wanted to apply the % (to quantity) simply remove the SIGN wrapper

  2. #2
    Registered User
    Join Date
    07-22-2019
    Location
    United States
    MS-Off Ver
    2010
    Posts
    15

    Re: Formula Too Long Problem

    Quote Originally Posted by XLent View Post
    without changing your existing file {per request} the attached should work, and is non-volatile

    Formula: copy to clipboard
    'Parts Sold Table'!C3:
    SUM(CHOOSE(1+COLUMN('Parts Table'!$D8:$M8)-COLUMN('Parts Table'!$D8),'Units Sold by Model & Market'!C$3:C$22*'Parts Table'!$D3,'Units Sold by Model & Market'!C$24:C$43*'Parts Table'!$E3,'Units Sold by Model & Market'!C$45:C$64*'Parts Table'!$F3,'Units Sold by Model & Market'!C$66:C$85*'Parts Table'!$G3,'Units Sold by Model & Market'!C$87:C$106*'Parts Table'!$H3,'Units Sold by Model & Market'!C$108:C$127*'Parts Table'!$I3,'Units Sold by Model & Market'!C$129:C$148*'Parts Table'!$J3,'Units Sold by Model & Market'!C$150:C$169*'Parts Table'!$K3,'Units Sold by Model & Market'!C$171:C$190*'Parts Table'!$L3,'Units Sold by Model & Market'!C$192:C$211*'Parts Table'!$M3)*SIGN(TRANSPOSE('Parts Table'!$N3:$AG3)))
    confirmed with CTRL + SHIFT + ENTER
    applied to results matrix C3:N4
    if you wanted to apply the % (to quantity) simply remove the SIGN wrapper

    This formula worked great until I tried to use the Indirect function for the value 'Parts Table'!$D3
    when multiplying by 'Units Sold by Model & Market'!$C3:$C22. Excel was trying to interpret the
    value as an array when using the Indirect function vs. the specific value in cell $D3 in the Parts
    Table worksheet. Everything until that point was working great.

+ 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. Substitute formula lower and upper case character and long text problem
    By silambarasan.J in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-08-2016, 09:41 AM
  2. Problem with recording a macro with long formula - works in Excel but not in macro
    By tonybeo2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-28-2015, 11:25 AM
  3. Long Array Formula Problem
    By tnederlof in forum Excel General
    Replies: 12
    Last Post: 08-20-2009, 02:55 PM
  4. Problem with a long formula
    By sa02000 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-04-2008, 11:59 AM
  5. Formula too long problem.
    By zipp in forum Excel General
    Replies: 4
    Last Post: 06-15-2007, 06:32 PM
  6. Formula too long problem
    By rfritz in forum Excel General
    Replies: 2
    Last Post: 06-09-2006, 01:20 PM
  7. [SOLVED] Problem with VBA returning the contents of a long formula.
    By alfred.vachris@gmail.com in forum Excel General
    Replies: 2
    Last Post: 02-22-2005, 09:06 PM

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