+ Reply to Thread
Results 1 to 2 of 2

Help returning values for adjacent cells next to a merged cell

  1. #1
    Registered User
    Join Date
    01-23-2021
    Location
    Minneapolis, US
    MS-Off Ver
    Excel iPad App
    Posts
    1

    Help returning values for adjacent cells next to a merged cell

    Using excel app on iPad

    I’m trying to enter a breakout sheet in my first tab. Then I have sheets made up for every different employee, those sheets have formula to pull their assigned aisle information if the name cell is found in the range on the first tab.

    The problem I’m running into is if they only have 1-3 aisles assigned to them the formula will still return the next aisle. I know this is because I have it mainly adding 1. I’m just not sure how to have it only go through the range with how large the merged cell is. I.e.: Colton has 3 cells, I want it to only fill 3 cells worth.

    The end goal is so that anyone can just enter the truck breakdown on the first sheet and it will auto fill the corresponding sheets to the employee names. I don’t even care if it returns “#REF!” because I can look past that with a sumif formula. this is the formula I’m currently using to return the correct values:

    =INDEX('Consumables Breakout'!B5:B20,MATCH(E3,'Consumables Breakout'!I5:I20,0))
    =INDEX('Consumables Breakout'!B5:B20,MATCH(E3,'Consumables Breakout'!I5:I20,0)+1)
    =INDEX('Consumables Breakout'!B5:B20,MATCH(E3,'Consumables Breakout'!I5:I20,0)+2)
    =INDEX('Consumables Breakout'!B5:B20,MATCH(E3,'Consumables Breakout'!I5:I20,0)+3)

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,333

    Re: Help returning values for adjacent cells next to a merged cell

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.

    Advice about merged cells: https://excel.solutions/2016/10/usin...ctively-excel/
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] Extract data from merged cells in adjacent rows
    By hoss88 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-14-2016, 03:09 PM
  2. Replies: 5
    Last Post: 11-20-2014, 07:19 PM
  3. [SOLVED] Generating values in number of cells based on adjacent cell values
    By subbby in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-24-2014, 04:34 PM
  4. Returning the Value of a Merged Cell
    By frisbie17 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-10-2012, 09:48 AM
  5. Replies: 7
    Last Post: 07-09-2012, 09:13 AM
  6. [SOLVED] Finding a name, then returning adjacent cell values
    By The Drone in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-09-2012, 06:36 AM
  7. Returning Values for 2 Non-Adjacent Cells
    By Martin Barret in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-03-2006, 10:08 AM

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