Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello, I have come across a problem that I need help with... I have a
worksheet for payroll. On this worksheet it has leave codes (such Annual Leave A/L, Sick Leave S/L, and so on) these codes are added up at the bottom. I also have a hours taken of these such leaves. What I'm needing help with it separte these hours and add them up? I have tried about everything I know... Can anyone please help me out. If you can, you may email me at and I can forward you the worksheet. Thanks so much! |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this
assuming that the descriptions are in a1:a1000 and the hours in b1:b1000 =sumif(a1:a1000, "Annual Leave A/L", b1:b1000) =sumif(a1:a1000, "Sick Leave S/L", b1:b1000) ..... Otherwise send it me at his removing .cutthis. -- Hope this helps Martin Fishlock, Bangkok, Thailand Please do not forget to rate this reply. "gibsaenz" wrote: Hello, I have come across a problem that I need help with... I have a worksheet for payroll. On this worksheet it has leave codes (such Annual Leave A/L, Sick Leave S/L, and so on) these codes are added up at the bottom. I also have a hours taken of these such leaves. What I'm needing help with it separte these hours and add them up? I have tried about everything I know... Can anyone please help me out. If you can, you may email me at and I can forward you the worksheet. Thanks so much! |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Gilbert,
I sent you the worksheet back, and it appears that you need to use the sumif as suggested. You have multiple ranges and therefore need to do seperate sumifs over the different ranges. -- Hope this helps Martin Fishlock, Bangkok, Thailand Please do not forget to rate this reply. "gibsaenz" wrote: Thanks, I have emailed you the worksheet... I hope you can help me out. "Martin Fishlock" wrote: Try this assuming that the descriptions are in a1:a1000 and the hours in b1:b1000 =sumif(a1:a1000, "Annual Leave A/L", b1:b1000) =sumif(a1:a1000, "Sick Leave S/L", b1:b1000) .... Otherwise send it me at his removing .cutthis. -- Hope this helps Martin Fishlock, Bangkok, Thailand Please do not forget to rate this reply. "gibsaenz" wrote: Hello, I have come across a problem that I need help with... I have a worksheet for payroll. On this worksheet it has leave codes (such Annual Leave A/L, Sick Leave S/L, and so on) these codes are added up at the bottom. I also have a hours taken of these such leaves. What I'm needing help with it separte these hours and add them up? I have tried about everything I know... Can anyone please help me out. If you can, you may email me at and I can forward you the worksheet. Thanks so much! |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I tried the "sumif" and I cant get it to work... having lots of trouble.
Thanks "Martin Fishlock" wrote: Gilbert, I sent you the worksheet back, and it appears that you need to use the sumif as suggested. You have multiple ranges and therefore need to do seperate sumifs over the different ranges. -- Hope this helps Martin Fishlock, Bangkok, Thailand Please do not forget to rate this reply. "gibsaenz" wrote: Thanks, I have emailed you the worksheet... I hope you can help me out. "Martin Fishlock" wrote: Try this assuming that the descriptions are in a1:a1000 and the hours in b1:b1000 =sumif(a1:a1000, "Annual Leave A/L", b1:b1000) =sumif(a1:a1000, "Sick Leave S/L", b1:b1000) .... Otherwise send it me at his removing .cutthis. -- Hope this helps Martin Fishlock, Bangkok, Thailand Please do not forget to rate this reply. "gibsaenz" wrote: Hello, I have come across a problem that I need help with... I have a worksheet for payroll. On this worksheet it has leave codes (such Annual Leave A/L, Sick Leave S/L, and so on) these codes are added up at the bottom. I also have a hours taken of these such leaves. What I'm needing help with it separte these hours and add them up? I have tried about everything I know... Can anyone please help me out. If you can, you may email me at and I can forward you the worksheet. Thanks so much! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Seed numbers for random number generation, uniform distribution | Excel Discussion (Misc queries) | |||
Completely baffled on what should be simple | Excel Discussion (Misc queries) | |||
conditional formatting | Excel Worksheet Functions | |||
How to generate sets of random numbers without having duplicates | Excel Worksheet Functions | |||
Why are 1/2 my numbers imported as text and the rest as numbers? | Excel Discussion (Misc queries) |