ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   is there a function called "between" in excel (https://www.excelbanter.com/excel-discussion-misc-queries/135697-there-function-called-between-excel.html)

zulu2627

is there a function called "between" in excel
 
Hi.. I am trying to build a formula, where a value in certain cell( say A5)
should be populated in cell B5 if the A5 value is say between 0-30, in C5 if
the A5 value is 30-60..etc. Is this possible..??

Gary''s Student

is there a function called "between" in excel
 
The formula:

=IF(AND((A529),(A5<61)),A5,"")


will put a value in C5 is A5 is "between" 30 and 60
--
Gary''s Student
gsnu200711


Andy

is there a function called "between" in excel
 
The formula:

=IF(AND((A529),(A5<61)),A5,"")

will put a value in C5 is A5 is "between" 30 and 60


or =A5*And(A529,A5<61) if you don't mind a zero instead of a blank




All times are GMT +1. The time now is 11:58 PM.

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