+ Reply to Thread
Results 1 to 1 of 1

Formula to Find the Cell Address of a Different Value in an Array after a Specific Occurre

Hybrid View

  1. #1
    Registered User
    Join Date
    09-02-2016
    Location
    Florida
    MS-Off Ver
    2007 2013
    Posts
    4

    Formula to Find the Cell Address of a Different Value in an Array after a Specific Occurre

    Formula to Find the Cell Address of a Different Value in an Array after a Specific Occurrence

    PLEASE Help...

    What I am trying to do is Sum the values in a column between two cell locations from another column

    I can find the first starting Address for the summation, but I can not figure out how to determine what the ending address is?

    I want to sum up the quantities for each PART# based on its location horizontally and stock availability (Please see Photos).

    I use a unique Array in each column, such as in column AE:

    {=IF(
    AD8<>"PART#","",
    SUM(INDIRECT(ADDRESS(SMALL(IF(D2:D$100="Americas Stock",ROW(D2:D$100),ROW(D$100)),1),3)):INDIRECT(ADDRESS(SMALL(IF(D2:D$100<>"",ROW(D2:D$100)),2),3))))} <--- *** WRONG (Should be the next non blank cell address after "Americas Stock", which is "PART#" in D12)***

    This formula does not work because I can not figure out what the next Non Blank Cell address is after "Americas Stock", which in this example should be the address of the "PART#" in D12?

    I have also tried using this Array, but still can not figure out how to select the proper next address occurrence.

    {=IF(
    AD2<>"PART#","",
    SMALL(IF(AD2:AD$250={"PART#","Americas Stock","Europe Stock","Asia Stock","Americas Broker Stock","Europe Broker Stock","Asia Broker Stock"},ROW(AD2:AD$250),ROW(AD$250)),3))}

    Thank You in Advance for your Assistance.

    ComponentCalculator_EXAMPLE1.jpg
    ComponentCalculator_EXAMPLE2.jpg
    Attached Images Attached Images

+ 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. Replies: 22
    Last Post: 04-28-2016, 04:04 PM
  2. Urgent, please help, code modification, find next, find, vba
    By rojoseph in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2015, 06:02 AM
  3. Find cell address of specific text
    By DMumme in forum Excel General
    Replies: 3
    Last Post: 05-13-2015, 07:10 PM
  4. Copying a specific cell by address based on a formula or function
    By gfloras in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-17-2014, 01:29 AM
  5. Find a cell address containing a value within an array
    By JeffRW in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-06-2013, 11:42 AM
  6. Replies: 7
    Last Post: 10-06-2013, 11:42 AM
  7. Replies: 4
    Last Post: 12-20-2011, 08:30 AM

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