Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
Solved

# Finding numeric value of month - Excel 2007

Posted on 2011-03-08
Medium Priority
261 Views
If I have the three month alpha liiteral for month in a column (A1),  and I would like to use it in a sumif how would I code the compare.  In the folllowing example I would like to substitute the '1'.

=SUMIFS(New,Case_Type,500005,LOB,7,wk_mnth,1)
0
Question by:morinia
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 2

LVL 20

Expert Comment

ID: 35072925
what are you trying to do... can u pls explain more?
0

LVL 50

Accepted Solution

barry houdini earned 1000 total points
ID: 35072946
Do you mean you have "Feb" or "Mar" in A1? If so then you can convert that to 2 or 3 with

=MONTH(1&A1) so you can use that in the SUMIFS formula

=SUMIFS(New,Case_Type,500005,LOB,7,wk_mnth,MONTH(1&A1))

regards, barry
0

LVL 20

Expert Comment

ID: 35072972
thats a nifty little trick barry! i like it... ingenious
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
###### Suggested Courses
Course of the Month11 days, 2 hours left to enroll