+ Reply to Thread
Results 1 to 4 of 4

Array Formula works in one portion, but not after being altered and moved

  1. #1
    Registered User
    Join Date
    11-20-2013
    Location
    Las Vegas, NV
    MS-Off Ver
    Excel 2010
    Posts
    64

    Array Formula works in one portion, but not after being altered and moved

    I figured out exactly what I wanted to do and got it to work in a test excel sheet. However, when integrating it into the actual workbook I wanted, I was unable to get it to work. So, I used the same cell references I need to work in my actual workbook and pasted it all back to the test excel sheet.

    So, the test excel sheet has the working formulas up at the top, and a duplicate of what I need to work in the actual cells I need them to work in. Changing the shift start time should group any persons with the same shift togethor. I'm still fairly new, but I think the only portion that could have been changed is the portion that says 1:1.. I figure that is relative to the array so it shouldn't be changed, but not sure what else to do.

    Here's an array formula that works:

    Please Login or Register  to view this content.
    Here's the array formula to be in the correct cells that doesn't work:
    Please Login or Register  to view this content.
    I figure this has to be easy for someone, but I spent like 2 hours trying to get it to work in the different cell area.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Array Formula works in one portion, but not after being altered and moved

    look at the blue part that is missing so it would start in row

    =....SMALL(IF($W$34:$W$37=$AA$37,ROW($W$34:$W$37)-ROW($W$33)+1),ROW(1:1)),2)),.....
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    11-20-2013
    Location
    Las Vegas, NV
    MS-Off Ver
    Excel 2010
    Posts
    64

    Re: Array Formula works in one portion, but not after being altered and moved

    Thanks, that fixed it. Just curious, why would that extra portion of the formula need to be added? I just moved the referenced cells, but they were all relative to each other.

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Array Formula works in one portion, but not after being altered and moved

    Welcome.Nice to hear that.

    index value has to start from 1 or in your case the second so whenever you start from any row other than 1 , you need to subtract the first row ROW($W$33) then +1 to start in 2nd row of index

+ 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. Array Formula works perfectly in Excel 2007 but don't work in GDoc
    By lati2008 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 5
    Last Post: 08-27-2013, 07:51 AM
  2. [SOLVED] Toggle button works on sheet but not when moved to module.
    By mandora in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-24-2012, 01:45 PM
  3. Inserting an array formula with VBA FormulaArray property works strange enough
    By Tchesko in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-27-2012, 11:32 AM
  4. Sum portion of array without loop
    By ElmerS in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 06-24-2009, 12:26 PM
  5. VBA Code to Change Portion of Array Formula
    By Gos-C in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 01-28-2009, 12:57 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