Hi, I'm trying to sum data between specific date ranges and meeting a condition using SUMPRODUCT(). the forumlas works out in samples bt while working in actual sheet it shows a #num error.
Sheet attached, kindly help to resolve it.
Hi, I'm trying to sum data between specific date ranges and meeting a condition using SUMPRODUCT(). the forumlas works out in samples bt while working in actual sheet it shows a #num error.
Sheet attached, kindly help to resolve it.
In Excel versions 2003 and earlier you can't use entire columns as range references in the SUMPRODUCT function.
Use smaller specific ranges.
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
Hi,
SUMPRODUCT will not work with whole rows or columns as its range references.
Regards
I think some simple changes to your formulas will work:
Using your posted workbook...on the Salary sheet...
Copy that formula across and down through cell I9![]()
Please Login or Register to view this content.
Is that something you can work with?
Last edited by Ron Coderre; 05-22-2013 at 09:20 AM. Reason: Ooops! Posted the non-2003 version
Hi All,
Thanks for your support. its done now.
Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
Thanks.
Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Could you help on this?
kindly suggest me for my following requirement.
I have opening leave balance with in the records and total leave availed during the current month, Required formulas for getting leave brk up of the availed leaves of the month meeting the availability of opening balance. I had almost derived at the formula. the problem which i'm facing now is
if there id 2.5 days of CL and 2 days of SL as opening balance and if an employee has availed 3 days of leave during the current month, mu formula split up shows it in the brk up as 2.5 days of CL and 0.5 days SL, which is inturn correct bt i dnt want a full day to be taken into split up of Half days. the desired result shud be of 2 CLs and 1 SL, then closing balance shud be 0.5 CL and 1 Sl in that case.. attached excel file for ready reference.
Shud i change my format of maintaining the time sheet, in such a way it meets the formula requirement? do suggest.
I wanted to create an attendance file for automating leave break up into CL & SL, meeting the certain conditions listed below.
1. an employee is eligible for 1 CL credit per month pertaining to Date of joining, whereas attendance is calculated on regular months.
ex. if an employee joins by 15th April 2013, he is eligible for 1 day leave till 15th May 2013, post to which he is eligible for additional 1 day credit for his 2nd month.
during the attendence period for 1st May to 31st may, he has an opening balance of 2days leave. say if he avails 2days leave on 3rd May 2013 and 14th May 2013, 1 day leave should be reduced from the opening balance and 1 day should be reflected in Loss of pay (LOP) and he should have balance 1 day leave as closing balance which could be adjusted in his 2nd month of joining (i.e) for the leaves he avails after 15th May.
In Simple, i required a formula where leaves should be counted from two different range meeting Date of joining as condition.
that is. to count leaves taken before the completion on 1month (from DOJ) and after completion
Sheet attached for the same. Can anybody help in solving my query, Seeking urgent revert on the same.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks