ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Need help on a formula (https://www.excelbanter.com/excel-discussion-misc-queries/264162-need-help-formula.html)

wicket_wm

Need help on a formula
 
I need a formula to calculate the following information please: I will have
someone enter a time (ex 6:31) in cell C3. If the time matches one of the
times in cells B17-B22 I need it to display 4.6, if it matched one of the
times in cells B23-28 I need it to display 4.7, if it matches one of the
times in cells B29-34 I need it to display 4.8 and so on. Does anyone have a
simple formula I can do for this please?

Fred Smith[_4_]

Need help on a formula
 
=IF(COUNTIF(B17:B22,C3)0,4.6,IF(COUNTIF(B23:B28,C 3)0,4.7,IF(COUNTIF(B29:B34,C3)0,4.8,"no
match")))

Can't do the "and so on" part, but hopefully you get the picture.

Regards,
Fred

"wicket_wm" wrote in message
...
I need a formula to calculate the following information please: I will have
someone enter a time (ex 6:31) in cell C3. If the time matches one of the
times in cells B17-B22 I need it to display 4.6, if it matched one of the
times in cells B23-28 I need it to display 4.7, if it matches one of the
times in cells B29-34 I need it to display 4.8 and so on. Does anyone have
a
simple formula I can do for this please?



MS-Exl-Learner

Need help on a formula
 
Try this...

=IF(COUNTIF(B17:B22,C3)=1,4.6,IF(COUNTIF(B23:B28, C3)=1,4.7,IF(COUNTIF(B29:B34,C3)=1,4.8,"")))

Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"wicket_wm" wrote:

I need a formula to calculate the following information please: I will have
someone enter a time (ex 6:31) in cell C3. If the time matches one of the
times in cells B17-B22 I need it to display 4.6, if it matched one of the
times in cells B23-28 I need it to display 4.7, if it matches one of the
times in cells B29-34 I need it to display 4.8 and so on. Does anyone have a
simple formula I can do for this please?


Teethless mama

Need help on a formula
 
Try this:

=ROUNDUP(MATCH(C3,B17:B100,)/60,1)+4.5



"wicket_wm" wrote:

I need a formula to calculate the following information please: I will have
someone enter a time (ex 6:31) in cell C3. If the time matches one of the
times in cells B17-B22 I need it to display 4.6, if it matched one of the
times in cells B23-28 I need it to display 4.7, if it matches one of the
times in cells B29-34 I need it to display 4.8 and so on. Does anyone have a
simple formula I can do for this please?


Gary Keramidas[_4_]

Need help on a formula
 
i think you mistyped an extra comma:

ROUNDUP(MATCH(C3,B17:B100)/60,1)+4.5


--


Gary Keramidas
Excel 2003


"Teethless mama" wrote in message
...
Try this:

=ROUNDUP(MATCH(C3,B17:B100,)/60,1)+4.5



"wicket_wm" wrote:

I need a formula to calculate the following information please: I will
have
someone enter a time (ex 6:31) in cell C3. If the time matches one of the
times in cells B17-B22 I need it to display 4.6, if it matched one of the
times in cells B23-28 I need it to display 4.7, if it matches one of the
times in cells B29-34 I need it to display 4.8 and so on. Does anyone
have a
simple formula I can do for this please?




All times are GMT +1. The time now is 12:46 AM.

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