Excel Equation <> value

jimjohndog

New Member
Joined
Jan 18, 2014
Messages
6
I currently have a time recording spreadsheet where I need to isolate within a column values (hours) greater than 1.0 hour and less than 5.0 hour. Require assistance first formatting cell and then creating equation. Thanks James
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Can you give examples of values in that column and how they are formatted
 
Upvote 0
Can you give examples of values in that column and how they are formatted

My workers use a military clock and the time is totaled in column C which has the following equation:

=(( h1-G1)*24) This formula simply that takes a punch in time (h1) - a punch out time (g1) and within this column C I want to somehow either isolate those values that are greater than 1.0 hour and less than 5.0 hours within column C or have the results generated in an adjacent column. Thanks James
 
Upvote 0
Yu should Post an example data with the desired end result.

I require an equation for column E to populate with values from Column D that are "greater than" 1.0 and "less than" 5.0. Also how do you formate that cell i.e. "numbers" -1234.10 prior to inserting equation. Thanks James


[TABLE="width: 542"]
<colgroup><col span="2"><col><col><col><col></colgroup><tbody>[TR]
[TD] A[/TD]
[TD] B[/TD]
[TD] C[/TD]
[TD] D[/TD]
[TD] E[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Names[/TD]
[TD]Punch IN[/TD]
[TD]Punch out[/TD]
[TD]Total Time[/TD]
[TD] >1.0 & < 5.0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]John Smith[/TD]
[TD="align: right"]9:45[/TD]
[TD="align: right"]15:00[/TD]
[TD="align: right"]5.25[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sara Kay[/TD]
[TD="align: right"]8:15[/TD]
[TD="align: right"]12:00[/TD]
[TD="align: right"]3.75[/TD]
[TD="align: right"]3.75[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Kevin Wilson [/TD]
[TD="align: right"]8:00[/TD]
[TD="align: right"]16:00[/TD]
[TD="align: right"]8[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sue Blank[/TD]
[TD="align: right"]9:00[/TD]
[TD="align: right"]10:00[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Terry Brown[/TD]
[TD="align: right"]9:00[/TD]
[TD="align: right"]17:15[/TD]
[TD="align: right"]8.25[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Bill Connely [/TD]
[TD="align: right"]8:00[/TD]
[TD="align: right"]11:00[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Betty Philbrick[/TD]
[TD="align: right"]13:00[/TD]
[TD="align: right"]16:00[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]3[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Something like this maybe


Excel 2010
ABCDE
2ABCDE
3NamesPunch INPunch outTotal Time>1.0 & < 5.0
4John Smith09:4515:005.25 
5Sara Kay08:1512:003.753.75
6Kevin Wilson08:0016:008
7Sue Blank09:0010:0011
8Terry Brown09:0017:158.25
9Bill Connely08:0011:0033
10Betty Philbrick13:0016:0033
Sheet4
Cell Formulas
RangeFormula
E4=IF(AND(D4>=1,D4<=5),D4,"")


Whats your question about cell formatting
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top