ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Need formula to prevent typing in duplicate numbers (https://www.excelbanter.com/excel-worksheet-functions/236974-need-formula-prevent-typing-duplicate-numbers.html)

Yoli

Need formula to prevent typing in duplicate numbers
 
My company uses an excel spreadsheet to track time spent in several different
programs (ea. program has a number). It's easier to show. The following
reflects that 1.5 hrs. is spent in prog. 23 and so on.

A B
23 1.5
5 .50
15 1.00
14 .75
23 .25
15 .50

On a separate section of the spread sheet, all the programs are listed in
numerical order and then hours spent on ea. prog. again stated. (there's a
reason for this).
Anyway, I need a fomula that will pick up all the hours in B that are
related to ea. prog. EX:

15 1.5 hrs.
23 1.75 hrs. The employee's are manually adding up their time
spent in each prog. and placing it next to the approp. prog. number.
I hope I explained it well enough. Thanks.....



Teethless mama

Need formula to prevent typing in duplicate numbers
 
Take a look SUMIF function in help menu


"Yoli" wrote:

My company uses an excel spreadsheet to track time spent in several different
programs (ea. program has a number). It's easier to show. The following
reflects that 1.5 hrs. is spent in prog. 23 and so on.

A B
23 1.5
5 .50
15 1.00
14 .75
23 .25
15 .50

On a separate section of the spread sheet, all the programs are listed in
numerical order and then hours spent on ea. prog. again stated. (there's a
reason for this).
Anyway, I need a fomula that will pick up all the hours in B that are
related to ea. prog. EX:

15 1.5 hrs.
23 1.75 hrs. The employee's are manually adding up their time
spent in each prog. and placing it next to the approp. prog. number.
I hope I explained it well enough. Thanks.....




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

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