ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   max function with condition (https://www.excelbanter.com/excel-discussion-misc-queries/98363-max-function-condition.html)

shaji

max function with condition
 
I have a range of data. In column A is Dates, in column B is amounts. I want
to find the maximum amount in each day in another column for calculating
interest. Can anyone provide me a function for the same.

Thanks in advance


Bob Phillips

max function with condition
 
=MAX(IF(B2:B200=--"2006-07-10",B2_B200))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"shaji" wrote in message
...
I have a range of data. In column A is Dates, in column B is amounts. I

want
to find the maximum amount in each day in another column for calculating
interest. Can anyone provide me a function for the same.

Thanks in advance




Ardus Petus

max function with condition
 
Ooops: I think you meant
=MAX(IF(B2:B200=--"2006-07-10",C2:C200))
(fastest typist east of Colorado)

Cheers,
--
AP


"Bob Phillips" a écrit dans le message de news:
...
=MAX(IF(B2:B200=--"2006-07-10",B2_B200))

which is an array formula, it should be committed with Ctrl-Shift-Enter,
not
just Enter.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"shaji" wrote in message
...
I have a range of data. In column A is Dates, in column B is amounts. I

want
to find the maximum amount in each day in another column for calculating
interest. Can anyone provide me a function for the same.

Thanks in advance






Bob Phillips

max function with condition
 
Thanks Ardus. I did mean colon

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Ardus Petus" wrote in message
...
Ooops: I think you meant
=MAX(IF(B2:B200=--"2006-07-10",C2:C200))
(fastest typist east of Colorado)

Cheers,
--
AP


"Bob Phillips" a écrit dans le message de news:
...
=MAX(IF(B2:B200=--"2006-07-10",B2_B200))

which is an array formula, it should be committed with Ctrl-Shift-Enter,
not
just Enter.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"shaji" wrote in message
...
I have a range of data. In column A is Dates, in column B is amounts. I

want
to find the maximum amount in each day in another column for

calculating
interest. Can anyone provide me a function for the same.

Thanks in advance









All times are GMT +1. The time now is 02:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com