• 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

Finding the number of weeks that are = or > budget|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Finding the number of weeks that are = or > budget|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…Finding the number of weeks that ar…
sp_PrintTopic sp_TopicIcon
Finding the number of weeks that are = or > budget
Avatar
Paul Benjamin
Member
Members
Level 0
Forum Posts: 84
Member Since:
July 11, 2017
sp_UserOfflineSmall Offline
1
February 4, 2018 - 4:03 am
sp_Permalink sp_Print

I am trying to find how many weeks are above the budgeted target %. I have tried the following formula in the last column but it returns 0

=COUNTIF(F2:BE2,">=BG2") answer should be 4

Any help greatly appreciated

Thanks, Paul

W27 W28 W29 W30 W31 W32 W33 W34 W35 W36 W37 W38 W39 W40 W41 W42 W43 W44 W45 W46 W47 W48 W49 W50 W51 W52 W53 W54 W55 W56 W57 W58 W59 W60 W61 W62 W63 W64 W65 W66 W67 W68 W69 W70 W71 W72 W73 W74 W75 W76 W77 W78   Budgeted Occupancy Actual Occupancy Variance No of Weeks above Budget
61.0% 51.6% 54.4% 66.6% 63.4% 68.2% 70.9% 57.9% 49.5% 52.1% 50.7% 35.0% 17.5% 43.0% 51.6% 51.5% 48.9% 54.0% 65.3% 57.6% 52.8% 52.4% 57.4% 56.8% 45.3% 47.3% 46.2% 51.9% 39.2% 50.9% 56.8% 58.7% 66.8% 56.6% 69.7% 60.6% 58.6% 57.6% 64.2% 49.5% 52.3% 59.9% 62.1% 73.2% 67.3% 75.8% 61.1% 58.2% 71.6% 63.6% 74.0% 70.1%   71% 59% -12% 0
sp_AnswersTopicSeeAnswer See Answer
Avatar
clark shao
Member
Members
Level 0
Forum Posts: 44
Member Since:
November 19, 2017
sp_UserOfflineSmall Offline
2
February 4, 2018 - 3:10 pm
sp_Permalink sp_Print

=COUNTIF(F2:BE2,">="&BG2)

sp_AnswersTopicAnswer
Answers Post
Avatar
Paul Benjamin
Member
Members
Level 0
Forum Posts: 84
Member Since:
July 11, 2017
sp_UserOfflineSmall Offline
3
February 7, 2018 - 2:01 am
sp_Permalink sp_Print

Thanks Clark,

I can see I was nearly there, so I can understand for the future what does adding the & before BG2 do?

 

Thanks

Paul

Avatar
clark shao
Member
Members
Level 0
Forum Posts: 44
Member Since:
November 19, 2017
sp_UserOfflineSmall Offline
4
February 7, 2018 - 10:35 am
sp_Permalink sp_Print sp_EditHistory

Hi Paul

& connected the mathematical operators ">=" and the criteria.

If the value in cell BG2 is 100, the two formula calculated as follows:

1)=COUNTIF(F2:BE2,">="&BG2) equals to =COUNTIF(F2:BE2,">=100")

">="&BG2---------->">="&100---------->">=100", Excel identifies BG2 as a reference to a cell, and will return the value of the cell first.

2)=COUNTIF(F2:BE2,">=BG2")

">=BG2"---------->">=BG2", "BG2" was identifies as usual text, generally, contents inside double quotes "" will be identified as text and BG2 here will not return the value of the cell BG2.

 

Clark

Avatar
Paul Benjamin
Member
Members
Level 0
Forum Posts: 84
Member Since:
July 11, 2017
sp_UserOfflineSmall Offline
5
February 7, 2018 - 8:10 pm
sp_Permalink sp_Print

Thank you Clark, I now totally understand where I was going wrong

Regards

Paul

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Anders Sehlstedt, RAQUEL ACION, Dana Friedt, Chandler Davis, gogy13, Brenda Richards, Mark Luke
Guest(s) 10
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
Jessica Stewart: 202
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Mark Luke
terimeri dooriyan
Jack Aston
AndyC
Denise Lloyd
michael serna
mashal sana
Tiffany Kang
Leah Gillmore
Sopi Yuniarti
Forum Stats:
Groups: 3
Forums: 24
Topics: 6218
Posts: 27267

 

Member Stats:
Guest Posters: 49
Members: 31901
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.