+ Reply to Thread
Results 1 to 11 of 11

Find H4:H14 that are related to G4:G14 and so on...

  1. #1
    Forum Contributor
    Join Date
    07-09-2018
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    257

    Find H4:H14 that are related to G4:G14 and so on...

    I have a list of dates G4:G14 related to a range E4:E17 dates. C4:C17 are a list of numbers related to E4:E17 dates, some of those dates are repeated. The formula must find identify only repeated dates E4:E17 and add C4:C17 numbers, showing the results of G4:G14(Dates which are not repeated) in H4:H14. So if G4 is 10/11/2018 and E4 is 10/11/2018, E5 is 10/11/2018 and C4 is 11 and C5 is 24 than H4 (related to G4 ) =35.


    This is a sample workbook.
    Attached Files Attached Files

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Find H4:H14 that are related to G4:G14 and so on...

    How about in H4 copied down...

    =IF(COUNTIF($E$4:$E$17,G4)>1,SUMIF($E$4:$E$17,G4,$C$4:$C$17),"Not Repeated")
    HTH
    Regards, Jeff

  3. #3
    Forum Contributor
    Join Date
    07-09-2018
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    257

    Re: Find H4:H14 that are related to G4:G14 and so on...

    The formula worked perfectly ,

    Thankyou Jeff

  4. #4
    Forum Contributor
    Join Date
    07-09-2018
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    257

    Re: Find H4:H14 that are related to G4:G14 and so on...

    Its possible to instead of "Not Repeated" show the non repeated numbers. If the numbers are repeated than it will add otherwise just show the non repeated numbers in G4. Sorry to bother you jeff and Thanks again.

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Find H4:H14 that are related to G4:G14 and so on...

    You are very welcome. Happy to help.

    Try...

    =IF(COUNTIF($E$4:$E$17,G4)>1,SUMIF($E$4:$E$17,G4,$C$4:$C$17),TEXT(G4,"mm/dd/yyyy"))
    Last edited by jeffreybrown; 12-08-2018 at 10:15 PM.

  6. #6
    Forum Contributor
    Join Date
    07-09-2018
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    257

    Re: Find H4:H14 that are related to G4:G14 and so on...

    When the numbers are not repeated the formula is showing "mm/dd/yyyy" instead of the non repeated number. I attached a sample workbook with an example.
    Attached Files Attached Files

  7. #7
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Find H4:H14 that are related to G4:G14 and so on...

    Try...

    =IF(COUNTIF($E$4:$E$17,G4)=1,SUMIF($E$4:$E$17,G4,$C$4:$C$17),"")

  8. #8
    Forum Contributor
    Join Date
    07-09-2018
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    257

    Re: Find H4:H14 that are related to G4:G14 and so on...

    Now its showing only the non repeated values and the repeated numbers are blank. Its possible to show the repeated and non repeated values in the same formula?
    Last edited by Mr.Castle; 12-09-2018 at 09:45 AM.

  9. #9
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Find H4:H14 that are related to G4:G14 and so on...

    Sorry, I just went by the example you posted and the repeated values were blank in column I.

    Anyway, this should do it...

    =IF(COUNTIF($E$4:$E$17,G4)=1,SUMIF($E$4:$E$17,G4,$C$4:$C$17),SUMIF($E$4:$E$17,G4,$C$4:$C$17))

  10. #10
    Forum Contributor
    Join Date
    07-09-2018
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    257

    Re: Find H4:H14 that are related to G4:G14 and so on...

    The formula worked ,

    Thank you very much for your help.

  11. #11
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Find H4:H14 that are related to G4:G14 and so on...

    You are very welcome Mr. Castle. Happy to help and thanks for the feedback and rep.

+ 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] Find lowest % on each row where related $ are greater than $0
    By januerry in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-04-2018, 01:43 AM
  2. Find text in col and row and show all the related result
    By onestar in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-13-2017, 03:53 AM
  3. function to find name related to highest value
    By hemaNishu in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-25-2014, 12:58 AM
  4. function to find name related to highest value
    By hoopes in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-16-2013, 03:22 AM
  5. [SOLVED] Find match, find related cell and return that number
    By HelpHelpHelp in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-17-2012, 06:46 AM
  6. Match text and find related value
    By Quagga in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2011, 12:02 PM
  7. find entry in corresponding sheet and return related value
    By kildareman in forum Excel General
    Replies: 3
    Last Post: 08-19-2010, 05:29 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