+ Reply to Thread
Results 1 to 5 of 5

Control enter vs. drag down

  1. #1
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    Control enter vs. drag down

    Hello, if I select four cells, then write a formula in the first cell and hit control enter it copies the SAME formula in all the cells. However, if I do a drag down it moves the reference of the cells. Why is this? It seems like the function is the same.

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Control enter vs. drag down

    Maybe because your reference isn't lock? Check the dollar $

    http://blogs.office.com/2011/08/17/m...igns-in-excel/

  3. #3
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    Re: Control enter vs. drag down

    Actually, it's only because it's an array (for frequency). That's really weird. How can how all cells be considered 1 array? I'm doing a frequency array with bins and if I try to delete one cell it gives me an error. Can I do frequency without an array. For example, just taking one bin (50)?

  4. #4
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Control enter vs. drag down

    From my experience, frequency is an array only formula.

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,850

    Re: Control enter vs. drag down

    Yes, =FREQUENCY() is an array formula intended to return all of the results for all of the bins in one step.

    If you want individual results from the FREQUENCY() function, you can nest it inside of an INDEX() function. =INDEX(FREQUENCY(data_array,bins_array),5) will return the 5th result from the FREQUENCY() function. It is just a matter of knowing what value to put into the row/column arguments for the INDEX() function.

    Since FREQUENCY() is really just counting values in a "bin", you could also work out a COUNTIF() or COUNTIFS() function that performs the same task.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. ListView Control / Drag&Drop / msghook
    By gooopil in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-10-2011, 01:08 PM
  2. Drag and Drop from ListView control to a cell
    By efernandes67 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-05-2011, 07:16 PM
  3. Control over drag and drop from an Excel cell
    By wsfulton in forum Excel General
    Replies: 1
    Last Post: 01-03-2009, 07:52 PM
  4. Treeview Control Drag and Drop
    By MikeBrough in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-10-2007, 10:42 AM
  5. Drag control onto worksheet does not work
    By TRT in forum Excel General
    Replies: 1
    Last Post: 01-05-2005, 11:06 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