Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
How would one set up a formula for:
Range B1:B20 is text and is sometimes duplicated, range A1:A20 has amounts. If duplicated I need the amount of the later dated one to be the formula result. Thanks for your time. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Where are the dates?
-- Regards, Peo Sjoblom "vadda" wrote in message ... How would one set up a formula for: Range B1:B20 is text and is sometimes duplicated, range A1:A20 has amounts. If duplicated I need the amount of the later dated one to be the formula result. Thanks for your time. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The dates are in column M1:M20
"Peo Sjoblom" wrote: Where are the dates? -- Regards, Peo Sjoblom "vadda" wrote in message ... How would one set up a formula for: Range B1:B20 is text and is sometimes duplicated, range A1:A20 has amounts. If duplicated I need the amount of the later dated one to be the formula result. Thanks for your time. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() =MAX(IF((B1:B20="x")*(M1:M20),A1:A20)) entered with ctrl + shift & enter will return what's in A1:A20 where B1:B20 is x (replace x with your criteria) and if there are more than one occurrence of x it will return the one with the most recent/later date in M1:M20 -- Regards, Peo Sjoblom "vadda" wrote in message ... The dates are in column M1:M20 "Peo Sjoblom" wrote: Where are the dates? -- Regards, Peo Sjoblom "vadda" wrote in message ... How would one set up a formula for: Range B1:B20 is text and is sometimes duplicated, range A1:A20 has amounts. If duplicated I need the amount of the later dated one to be the formula result. Thanks for your time. |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Peo,
Thank you for the suggestion, but the formula below returns a value even if the text occurs once. I am looking for a formula that will only return a value if the text appears twice. Maybe I'm doing something wrong. "Peo Sjoblom" wrote: =MAX(IF((B1:B20="x")*(M1:M20),A1:A20)) entered with ctrl + shift & enter will return what's in A1:A20 where B1:B20 is x (replace x with your criteria) and if there are more than one occurrence of x it will return the one with the most recent/later date in M1:M20 -- Regards, Peo Sjoblom "vadda" wrote in message ... The dates are in column M1:M20 "Peo Sjoblom" wrote: Where are the dates? -- Regards, Peo Sjoblom "vadda" wrote in message ... How would one set up a formula for: Range B1:B20 is text and is sometimes duplicated, range A1:A20 has amounts. If duplicated I need the amount of the later dated one to be the formula result. Thanks for your time. |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You didn't say that in your original post
"If duplicated I need the amount of the later dated one to be the formula result." You didn't say that you didn't want any result at all if it only occurred once =IF(COUNTIF(B1:B20,"x")<2,"",MAX(IF((B1:B20="x")*( M1:M20),A1:A20))) entered the same way will return blank if it occurs once -- Regards, Peo Sjoblom "vadda" wrote in message ... Peo, Thank you for the suggestion, but the formula below returns a value even if the text occurs once. I am looking for a formula that will only return a value if the text appears twice. Maybe I'm doing something wrong. "Peo Sjoblom" wrote: =MAX(IF((B1:B20="x")*(M1:M20),A1:A20)) entered with ctrl + shift & enter will return what's in A1:A20 where B1:B20 is x (replace x with your criteria) and if there are more than one occurrence of x it will return the one with the most recent/later date in M1:M20 -- Regards, Peo Sjoblom "vadda" wrote in message ... The dates are in column M1:M20 "Peo Sjoblom" wrote: Where are the dates? -- Regards, Peo Sjoblom "vadda" wrote in message ... How would one set up a formula for: Range B1:B20 is text and is sometimes duplicated, range A1:A20 has amounts. If duplicated I need the amount of the later dated one to be the formula result. Thanks for your time. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SUMIF Criteria | Excel Worksheet Functions | |||
how do i count the number of times criteria appears in a worksheet | Excel Worksheet Functions | |||
SUMIF with two criteria | Excel Discussion (Misc queries) | |||
nested sumif or sumif with two criteria | Excel Worksheet Functions | |||
SUMIF with more than 1 criteria | Excel Worksheet Functions |