+ Reply to Thread
Results 1 to 6 of 6

Want to drag formula to new cells but only change one part

  1. #1
    Registered User
    Join Date
    04-30-2010
    Location
    Pebble Beach, California
    MS-Off Ver
    2016
    Posts
    44

    Want to drag formula to new cells but only change one part

    I have this formula; =COUNTIFS(Tally!D188:D203, "X", Tally!E188:E203, ">=3")/COUNTIF(Tally!D188:D203, "X")*100

    I would like to drag this down the column, row by row and have it advance by column on one part of the formula.. For example;

    =COUNTIFS(Tally!D188:D203, "X", Tally!E188:E203, ">=3")/COUNTIF(Tally!D188:D203, "X")*100

    =COUNTIFS(Tally!D188:D203, "X", Tally!F188:F203, ">=3")/COUNTIF(Tally!D188:D203, "X")*100

    =COUNTIFS(Tally!D188:D203, "X", Tally!G188:G203, ">=3")/COUNTIF(Tally!D188:D203, "X")*100

    =COUNTIFS(Tally!D188:D203, "X", Tally!H188:H203, ">=3")/COUNTIF(Tally!D188:D203, "X")*100

    =COUNTIFS(Tally!D188:D203, "X", Tally!I188:I203, ">=3")/COUNTIF(Tally!D188:D203, "X")*100

    I've tried using the $, but it does not seem to work.
    Last edited by argentraven; 11-03-2015 at 02:24 PM.

  2. #2
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Want to drag formula to new cells but only change one part

    try something like this..

    =COUNTIFS(Tally!D188:D203, "X", Tally!E$188:E$203, ">=3")/COUNTIF(Tally!$D$188:$D$203, "X")*100
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Want to drag formula to new cells but only change one part

    Columns don't incriment when formulas are dragged up or down.
    As well as Rows don't incriment when formulas are dragged left or right.

    Try this (you won't actually see the range change, but it will be properly referenced as you drag down)

    =COUNTIFS(Tally!D$188:D$203, "X", OFFSET(Tally!E$188:E$203,0,ROWS(A$1:A1)-1), ">=3")/COUNTIF(Tally!D$188:D$203, "X")*100

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

    Re: Want to drag formula to new cells but only change one part

    Hi
    Use =COUNTIFS(Tally!$D$188:$D$203,"X",OFFSET(Tally!$D$188:$D$203,0,ROW($A1)),">=3")/COUNTIF(Tally!$D$188:$D$203,"X")*100
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and copy down.

  5. #5
    Registered User
    Join Date
    04-30-2010
    Location
    Pebble Beach, California
    MS-Off Ver
    2016
    Posts
    44

    Re: Want to drag formula to new cells but only change one part

    Perfect!!! Thank you so much! You saved me hours of manual entry. You should get a raise!

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Want to drag formula to new cells but only change one part

    You're welcome.

    Quote Originally Posted by argentraven View Post
    You should get a raise!
    I'm sure the Forum Admins would gladly give my a 50% raise.
    Last edited by Jonmo1; 11-03-2015 at 03:39 PM.

+ 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] Change part of formula in multiple cells
    By T_BOLT in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-11-2015, 09:52 AM
  2. [SOLVED] Change part of a VLOOKUP formula across mulitple cells and worksheets
    By nilelator in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-20-2014, 07:15 PM
  3. [SOLVED] I want my criteria to change when I drag a formula
    By ZMF in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 02-20-2014, 08:40 PM
  4. [SOLVED] Drag formula, change sheet
    By lamdl in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-03-2014, 01:26 AM
  5. [SOLVED] How to drag / copy to 1000 rows, leaving one part of the formula static?
    By johanna0507 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-01-2013, 08:54 AM
  6. Replies: 2
    Last Post: 03-20-2011, 03:13 PM
  7. How do I keep letters the same and change the # for drag formula
    By ASST in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-22-2006, 09:30 PM

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