• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Same Month in a formula|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Same Month in a formula|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Same Month in a formula
sp_PrintTopic sp_TopicIcon
Same Month in a formula
Avatar
Laurie Hartmann

New Member
Members
Level 0
Forum Posts: 1
Member Since:
January 17, 2019
sp_UserOfflineSmall Offline
1
January 23, 2019 - 2:38 pm
sp_Permalink sp_Print

Hello,   Please let me start by saying...this is amazing!  How wonderful that there are people who love Excel enough to help others out.  I don't know much about Excel, but I know enough to say that if I could make a living off of learning the program, I would quit my job today!

Okay, with that out of the way, down to the nitty gritty!

I have a 2 column table that tracks the total units sold each month; column headings - Month & Units Sold; first cell in table is H7; the formula will go in I7.  I have a 2nd table that tracks all the clients each month; where they are in the sales process; if they purchased, how many units, the product name, the delivery date.

I have a date, in Month format, in cell L1. From cell H7:H18 are dates Jan to Dec, in Month format.  What I would like to do is add the total of units sold from the 2nd table, in the current month, which is reset each month, to the 1st table without losing the total from the previous month.

At first I was thinking I could incorporate =month(L1)=month(H7), but I can't make that work.  Any assistance would be greatly appreciated!

I hope this hasn't been too confusing.  Thanks for your time and consideration,

Lani

Avatar
adrian@utas
University of Tasmania
Member
Members
Level 0
Forum Posts: 16
Member Since:
July 13, 2016
sp_UserOfflineSmall Offline
2
January 24, 2019 - 3:48 am
sp_Permalink sp_Print sp_EditHistory

Hi Lani,

You have mentioned that the table with the sales data will be 'reset each month'?
This means that a formula pointing to your January column will lose it's data when you reset the source table.

Moreover, The formula you setup may mean that placing February data into the source table would pull February data into the January cell.

Looking at the setup in your sample sheet, I would suggest that manually typing the figure (or copy, paste) into the new months table would be best.

 

However you might like to consider changing the approach (unless you are stuck with bringing this data in from elsewhere in this format!)
I see you have filters turned on for cells D5 - I5. This means you can filter by any of those columns.
If you added a column after G (slotted in before the "Fit Date") you could then put "Sale Date" in there. 

If the entire year's sales were recorded in this table (and not then resetting each month) you could have a formula next to your months, that looks at the entire year list and only totals those where the sale is in the relevant month.

Also, I see that it is only those with a status of "Sold" that are totalled - so a Sale Date can be left out until such time that an item is sold - then it gets counted once that date is added.

I have attached an example for you. If you are after something different, do let us know! (you will note in the sample that the sale dates include Dec,Jan,Feb which dictates what appears in the secondary table)

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Chris Warren
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
michael serna
mashal sana
Tiffany Kang
Leah Gillmore
Sopi Yuniarti
LAFONSO HERNANDEZ
Hayden Hao
Angela chen
Sean Moore
John Chisholm
Forum Stats:
Groups: 3
Forums: 24
Topics: 6214
Posts: 27246

 

Member Stats:
Guest Posters: 49
Members: 31897
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.