+ Reply to Thread
Results 1 to 5 of 5

alternate column to be taken for formula dragging

  1. #1
    Registered User
    Join Date
    09-04-2020
    Location
    USA
    MS-Off Ver
    2016
    Posts
    25

    Exclamation alternate column to be taken for formula dragging

    Hello forum friends,

    i have a formula in B1

    SUMIF($E$2:$E$50,"XXX",H$2:H$50)

    i want to drag this formula in row B1:EZ1

    Quest: i want the sum to be taking of every alternate column for example

    Cell C1 Formula: SUMIF($E$2:$E$50,"XXX",J$2:J$50)
    Cell D1 Formula: SUMIF($E$2:$E$50,"XXX",L$2:L$50)
    ..and so on
    it can be done through VBA, however i want to know is there any way it can be done through formula.

    Excel is attached for your refernce.

    Thanks in advance
    Attached Files Attached Files
    Last edited by andrei461; 10-11-2020 at 06:00 AM.

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: alternate column to be taken for formula dragging

    Fast answers need clear examples. Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. Just before posting, scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: alternate column to be taken for formula dragging

    Try this formula in C1 and drag forward
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    09-04-2020
    Location
    USA
    MS-Off Ver
    2016
    Posts
    25

    Re: alternate column to be taken for formula dragging

    Thanks Augusto.

    Thats an awesome way of referencing column via index.

    Thanks for ur fast response.

  5. #5
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: alternate column to be taken for formula dragging

    You are welcome.

    I'm happy to have helped.

+ 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] update formula row and column while dragging
    By melvinkoshy in forum Excel General
    Replies: 4
    Last Post: 02-10-2018, 04:20 AM
  2. [SOLVED] Dragging formula down every other column
    By 1003064 in forum Excel General
    Replies: 10
    Last Post: 11-09-2016, 11:30 AM
  3. [SOLVED] Dragging 2 column formula across
    By pdauction in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-15-2015, 08:38 AM
  4. [SOLVED] Dragging Formula to Fill Column
    By arpirnat in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-09-2015, 11:50 AM
  5. [SOLVED] Skipping a column when dragging formula
    By bharbir in forum Excel General
    Replies: 4
    Last Post: 08-05-2013, 01:51 AM
  6. [SOLVED] Skip column when dragging formula.
    By D_N_L in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-16-2012, 07:42 AM
  7. [SOLVED] dragging a formula down a column
    By Jason R in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-12-2005, 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