+ Reply to Thread
Results 1 to 12 of 12

Sumifs/Index/Match----Please fix

Hybrid View

Paul Cherian Sumifs/Index/Match----Please... 09-01-2014, 07:47 AM
Special-K Re:... 09-01-2014, 07:54 AM
Paul Cherian Re:... 09-01-2014, 07:56 AM
samba_ravi Re:... 09-01-2014, 08:03 AM
Special-K Re:... 09-01-2014, 08:06 AM
Paul Cherian Re:... 09-01-2014, 08:24 AM
oeldere Re:... 09-01-2014, 08:27 AM
boopathiraja Re:... 09-01-2014, 08:36 AM
samba_ravi Re:... 09-01-2014, 08:53 AM
boopathiraja Re:... 09-01-2014, 09:15 AM
Paul Cherian Re:... 09-01-2014, 08:51 AM
Paul Cherian Re:... 09-02-2014, 04:07 AM
  1. #1
    Registered User
    Join Date
    02-23-2014
    Location
    Qatar
    MS-Off Ver
    Excel 2010
    Posts
    73

    Sumifs/Index/Match----Please fix

    Hi all..Could you please fix this issue for me. I have attached a sample file.

    I need the result on the second page.

    Please help!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,077

    Re: Sumifs/Index/Match----Please fix

    You need to explain the problem PROPERLY.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    02-23-2014
    Location
    Qatar
    MS-Off Ver
    Excel 2010
    Posts
    73

    Re: Sumifs/Index/Match----Please fix

    I am so sorry..was in hurry to post it.. What I need to get the data on the second page when I input the category number . I tried to do it by Sumifs/Index and match but failed to do it. Could you please help me to fix this.

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,937

    Re: Sumifs/Index/Match----Please fix

    =IFERROR(INDEX('Lev1'!$B$8:$N$13,MATCH($A2,'Lev1'!$B$8:$B$13,0),MATCH($B$1,'Lev1'!$B$8:$N$8,0)),"NA")
    Try the above in "B2" Cell of Results sheet and copy towards down
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,077

    Re: Sumifs/Index/Match----Please fix

    So Result!B1 is the category number you are trying to find?

    in Result!B2
    =INDEX('Lev1'!C$9:N$13,MATCH(A2,'Lev1'!B$9:B$13,0),MATCH(B$1,'Lev1'!C$8:N$8,0))
    and copy down the column

  6. #6
    Registered User
    Join Date
    02-23-2014
    Location
    Qatar
    MS-Off Ver
    Excel 2010
    Posts
    73

    Re: Sumifs/Index/Match----Please fix

    Thanks a lot nflsales and Special K!!

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Sumifs/Index/Match----Please fix

    With the macro below, and after that a pivot table.

    See the attached file.

    Sub CONVERTROWSTOCOL_Oeldere_revisted()
    
    Dim rsht1 As Long, rsht2 As Long, i As Long, col As Long, wsTest As Worksheet
    
    'check if sheet "ouput" already exist
    
    Const strSheetName As String = "Output"
     
    Set wsTest = Nothing
    On Error Resume Next
    Set wsTest = ActiveWorkbook.Worksheets(strSheetName)
    On Error GoTo 0
     
    If wsTest Is Nothing Then
        Worksheets.Add.Name = strSheetName
    End If
    
       
       With Sheets("Output")
        .UsedRange.ClearContents
        .Range("A1:C1").Value = Array("Cat", "Month", "Value")
    
        End With
        
        
        rsht1 = Sheets("Lev1").Range("B" & Rows.Count).End(xlUp).Row
        rsht2 = Sheets("Output").Range("A" & Rows.Count).End(xlUp).Row
        col = 3
        
        For i = 9 To rsht1
                Do While Sheets("Lev1").Cells(8, col).Value <> ""
                rsht2 = rsht2 + 1
               
                Sheets("Output").Range("A" & rsht2).Value = Sheets("Lev1").Range("B" & i).Value
               
                Sheets("Output").Range("B" & rsht2).Value = Sheets("Lev1").Cells(8, col).Value
                
                Sheets("Output").Range("C" & rsht2).Value = Sheets("Lev1").Cells(i, col).Value
                
                
         
                col = col + 1
            Loop
            col = 3
        Next
      With Sheets("Output")
      
       Columns("A:Z").EntireColumn.AutoFit
        End With
    End Sub
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  8. #8
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Sumifs/Index/Match----Please fix

    Try
    Formula: copy to clipboard
    =HLOOKUP(B$1,'Lev1'!$C$8:$N$13,MATCH($A2,'Lev1'!$B$8:$B$13,0))
    Click just below left if it helps, Boo?ath?

  9. #9
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,937

    Re: Sumifs/Index/Match----Please fix

    Quote Originally Posted by boopathiraja View Post
    Try
    Formula: copy to clipboard
    =HLOOKUP(B$1,'Lev1'!$C$8:$N$13,MATCH($A2,'Lev1'!$B$8:$B$13,0))
    nice formula

  10. #10
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Sumifs/Index/Match----Please fix

    Thanks Siva
    Quote Originally Posted by nflsales View Post
    nice formula

  11. #11
    Registered User
    Join Date
    02-23-2014
    Location
    Qatar
    MS-Off Ver
    Excel 2010
    Posts
    73

    Re: Sumifs/Index/Match----Please fix

    Thank you all!

  12. #12
    Registered User
    Join Date
    02-23-2014
    Location
    Qatar
    MS-Off Ver
    Excel 2010
    Posts
    73

    Re: Sumifs/Index/Match----Please fix

    Thank you all..!!

+ 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, SUMIFS or something else? NEED HELP!
    By MMLBaylor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-20-2014, 11:52 AM
  2. SumIFS or Index Match Help
    By excelnovice936 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-25-2013, 12:08 AM
  3. possible to use SUMIFS, INDEX, MATCH across 2 rows?
    By sofib09 in forum Excel General
    Replies: 1
    Last Post: 01-18-2011, 06:09 PM
  4. Replies: 0
    Last Post: 01-18-2011, 04:30 PM
  5. SUMIFS, INDEX, and MATCH-- how to fix?
    By sofib09 in forum Excel General
    Replies: 6
    Last Post: 12-13-2010, 11:05 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