• 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
    • 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
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

OFFSET with 3 dynamic matches- reference, rows, cols.|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / OFFSET with 3 dynamic matches- reference, rows, cols.|General Excel Questions & Answers|Excel Forum|My Online Training Hub

Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
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…OFFSET with 3 dynamic matches- refe…
sp_PrintTopic sp_TopicIcon
OFFSET with 3 dynamic matches- reference, rows, cols.
Avatar
marcinescu

New Member
Members
Level 0
Forum Posts: 2
Member Since:
December 16, 2022
sp_UserOfflineSmall Offline
1
December 16, 2022 - 5:53 am
sp_Permalink sp_Print sp_EditHistory

Hi Everyone

 

Hope it's no repost 😉

I struggle with the offset’s value error. I tried to use 3 index matches in offset function for: reference, rows, cols.

My aim is to find the range of entries depending from specific task (row) and week number (column) in a particular year (as the offset's reference)

Separately all the matches still work correctly, but when all are combined an error is given.  I’ve tried 2 alternative syntaxes: one where ranges are in the entire column and rows, and 2nd where MATCH ranges are limited to a year range. I’ve also tried using Sum at the beginning of the formula syntax or array {}- but still no joy.

Where is the problem?

Many thanks

Ps. work on Office 365 for Windows

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4354
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
December 16, 2022 - 12:39 pm
sp_Permalink sp_Print

Hi and welcome to our forum!

Can you please upload your file or an example file so we can see what you're trying to do in the context of the worksheet?

Mynda

Avatar
marcinescu

New Member
Members
Level 0
Forum Posts: 2
Member Since:
December 16, 2022
sp_UserOfflineSmall Offline
3
December 20, 2022 - 4:51 am
sp_Permalink sp_Print sp_EditHistory

Apologise Mynda. 

 

Please find attached

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4354
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
4
December 20, 2022 - 9:39 am
sp_Permalink sp_Print

Thanks for sharing your file. The issue is that your data is not in a suitable layout to lookup the results you want. Firstly, you have the years in merged cells. When you merge a cell the cell reference is still the first cell in the merged range. It can only identify the year for one week in each period.

You should store your data in a tabular layout if you want to use Excel's tools the way they were designed. 

Personally, I would use Power Query to unpivot the data, and then summarise it in a PivotTable.

See example attached. Sheet 'Tabular Layout' contains the unpivoted data from Power Query (in Table1) and two PivotTables (in column J).

I hope that points you in the right direction.

Mynda

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 170
Currently Online: Bouskila stephanie, Brenda Krol, Peter Griffiths, James Hwang
Guest(s) 46
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1431
Anders Sehlstedt: 848
Velouria: 574
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 213
A.Maurizio: 202
Aye Mu: 201
Jessica Stewart: 185
Newest Members:
David Collins
Andras Marsi
Orimoloye Funsho
YUSUF IMAM KAGARA
PRADEEP PRADHAN
Vicky Otosnika
Abhishek Singh
Kevin Sojourner
Kara Weiss
And Woox
Forum Stats:
Groups: 3
Forums: 24
Topics: 6047
Posts: 26544

 

Member Stats:
Guest Posters: 49
Members: 31497
Moderators: 2
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Riny van Eekelen
© Simple:Press —sp_Information
  • 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
 
  • About My Online Training Hub
  • Contact
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

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.

Download A Free Copy of 100 Excel Tips & Tricks

excel tips and tricks ebook

We respect your privacy. We won’t spam you.

x