+ Reply to Thread
Results 1 to 5 of 5

Using Match Index (Excluding Blank cells)

  1. #1
    Registered User
    Join Date
    04-05-2017
    Location
    Hyderabad, India
    MS-Off Ver
    2013
    Posts
    8

    Using Match Index (Excluding Blank cells)

    Hello Experts,
    I need an help to compile data based on weekdays on with respect to month. Please find attached excel for data.

    Regards
    Arun
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Using Match Index (Excluding Blank cells)

    Hi,

    not sure.

    In C27 to be copied down and to the right


    =SUMIF($B$3:$B$9,$B27,C$3:C$9)

    Regards
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  3. #3
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Using Match Index (Excluding Blank cells)

    Your formulas give the same results as your desired output, so not so clear what you want!

    Perhaps in c27 =SUMIFS(C$3:C$23,$B$3:$B$23,$B27)

    Regards

    Dav

  4. #4
    Registered User
    Join Date
    04-05-2017
    Location
    Hyderabad, India
    MS-Off Ver
    2013
    Posts
    8

    Re: Using Match Index (Excluding Blank cells)

    Sorry, Seems i didn't attach the right file. here is the updated one.

    For instance:
    January's data is from C3:C9 & February is from D10:D16
    whereas i wanted to compile same values from cell C39:45 and D39:45 respectively,
    the formula i tried give the desired output for January,
    whereas for February D3:D9 is empty and D10:D16 has data, Index and match output shows "0".

    Please help me.
    Regards
    Arun
    Attached Files Attached Files

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Using Match Index (Excluding Blank cells)

    You can use this array formula, copied across and down:

    =IFERROR(INDEX(C$3:C$23,MATCH(1,(C$3:C$23<>"")*($B$3:$B$23=$B39),0)),"")

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

+ 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] INDEX/MATCH or Equivalent to Return Data with Blank Cells
    By bcathell in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-28-2017, 01:57 PM
  2. Index and Match where cells are blank
    By bigroo1958 in forum Excel General
    Replies: 10
    Last Post: 07-01-2015, 03:55 PM
  3. [SOLVED] INDEX/MATCH formula doesn't like blank cells.
    By Big.Moe in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-07-2015, 01:40 PM
  4. Excel index match, don't want blank cells in result
    By sambak2 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 12-20-2014, 05:22 AM
  5. INDEX and MATCH functions to sum data with blank cells
    By Simplex06 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-14-2013, 08:38 AM
  6. [SOLVED] INDEX and MATCH with Date format and Blank Cells
    By Pooger in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-16-2013, 09:22 PM
  7. [SOLVED] Index & Match on Blank Cells
    By itselflearn in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-11-2013, 02:28 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