Senin, 15 Oktober 2012

RE: [ExcelVBA] Re: formula not working

 

Hi Michael,
Thank you. That explains why my troubleshooting failed but do not understand
why my sum formula is not working.

>I am working with dates, trying to sum up the number of days worked in a
given month.
>I have a column for start date (col J), end date (col k), and a total
column (col L).

>I want to sum the days worked by month in a different column.

>I used this formula.

>=SUMIF(J:J,MONTH(7),L:L)

>The formula's answer was 0.

>The correct answer should be 20.

Pam

> -----Original Message-----
> From: ExcelVBA@yahoogroups.com [mailto:ExcelVBA@yahoogroups.com]On
> Behalf Of Michael Trombetta
> Sent: Monday, October 15, 2012 12:40 PM
> To: ExcelVBA@yahoogroups.com
> Subject: [ExcelVBA] Re: formula not working
>
>
> Pam,
>
> You have your IF statement backwards. It should be 
> IF MONTH(J5) = 7
>
> Regards,
> Michael Trombetta
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> ----------------------------------
> Be sure to check out TechTrax Ezine for many, free Excel VBA
> articles! Go here: http://www.mousetrax.com/techtrax to enter the
> ezine, then search the ARCHIVES for EXCEL VBA.
>
> ----------------------------------
> Visit our ExcelVBA group home page for more info and support files:
> http://groups.yahoo.com/group/ExcelVBA
>
> ----------------------------------
> More free tutorials and resources available at:
> http://www.mousetrax.com
>
> ----------------------------------Yahoo! Groups Links
>
>
>

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (22)
Recent Activity:
----------------------------------
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.

----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA

----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com

----------------------------------
.

__,_._,___

Tidak ada komentar:

Posting Komentar