+ Reply to Thread
Results 1 to 8 of 8

Autofill complexity

  1. #1
    Registered User
    Join Date
    07-24-2015
    Location
    New York City
    MS-Off Ver
    Office 2011 for OS X
    Posts
    8

    Exclamation Autofill complexity

    Hello,

    I have this formula in a cell (K27 but irrelevant)
    =($E$70*C4)+($E$71*C5)+($E$72*C6)+($E$73*C7)+($E$74*C8)+($E$75*C9)+($E$76*C10)

    E70:E76 is a set of prices that will stay constant.

    C4:C10 is a set of quantities.

    I want to drag down and autofill from K27. E70:E27 will stay constant because of $ which is good.

    Here is the tricky part. in K28 I want the formula to have replaced C4:C10 with E4:E10. so autofill should take from every other column. Is there any way to do this, there has to be a way to do it without doing it manually

    Thanks

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,474

    Re: Autofill complexity

    copy formula down to K28.
    Do a find and replace. on K28. Find C REPLACE with E.
    select both K27 and K28. drag and drop down

  3. #3
    Registered User
    Join Date
    07-24-2015
    Location
    New York City
    MS-Off Ver
    Office 2011 for OS X
    Posts
    8

    Re: Autofill complexity

    I want to drag down about 30 cells. K28 will need to have E like you have stated. but then K29 will have to be G. K30 will use I... So I will be using every other column in the reference.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Autofill complexity

    Your original formula could be replaced with

    =sumproduct($E$70:$E$76, C4:C10)

    No what you want to hear, but you should rearrange the columns so that copying the formula in the normal way works.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    07-24-2015
    Location
    New York City
    MS-Off Ver
    Office 2011 for OS X
    Posts
    8

    Re: Autofill complexity

    To be more clear,
    I currently have in K27
    =($E$70*C$4)+($E$71*C$5)+($E$72*C$6)+($E$73*C$7)+($E$74*C$8)+($E$75*C$9)+($E$76*C$10)

    in K28 I want
    =($E$70*E$4)+($E$71*E$5)+($E$72*E$6)+($E$73*E$7)+($E$74*E$8)+($E$75*E$9)+($E$76*E$10)

    in K29 I want
    =($E$70*G$4)+($E$71*G$5)+($E$72*G$6)+($E$73*G$7)+($E$74*G$8)+($E$75*G$9)+($E$76*G$10)

  6. #6
    Valued Forum Contributor
    Join Date
    05-14-2012
    Location
    Unknown
    MS-Off Ver
    Unseen
    Posts
    429

    Re: Autofill complexity

    K27:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and drag across

  7. #7
    Registered User
    Join Date
    07-24-2015
    Location
    New York City
    MS-Off Ver
    Office 2011 for OS X
    Posts
    8

    Re: Autofill complexity

    Awesome thanks! is there a way I can do it with dragging down, rather than dragging across . but i can do it if i drag across and have them away from everything in the spreadsheet then copy and paste transpose i guess

  8. #8
    Valued Forum Contributor
    Join Date
    05-14-2012
    Location
    Unknown
    MS-Off Ver
    Unseen
    Posts
    429

    Re: Autofill complexity

    Can't work out how to drag it down, however ...

    Let's say you put the formula in cell L27:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and dragged across.

    Now, select cells K27:K32. With all six (6) cells selected, type:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and commit with Ctrl-Shift-Enter rather than just Enter (as it is an Array Formula)

+ 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. [SOLVED] Probably SUMPRODUCT (across sheets) but confused due to complexity...
    By jimbosi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-20-2014, 06:55 PM
  2. How to get the overall complexity result base on Low, Medium and High
    By Ex-xcel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-18-2013, 01:18 PM
  3. Cyclomatic Complexity
    By Bob1980 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-12-2011, 09:20 AM
  4. Complexity to far for graphs?
    By garyi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-19-2011, 05:19 AM
  5. Simplifying Formulas by Reducing the Complexity of IF Functions
    By srinivas in forum Tips and Tutorials
    Replies: 6
    Last Post: 08-20-2007, 05:27 PM
  6. Excel 2007 Charts Complexity
    By Tintin in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-05-2006, 09:10 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