• 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

Return Content of a Cell every 45 rows down.|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Return Content of a Cell every 45 rows down.|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…Return Content of a Cell every 45 r…
sp_PrintTopic sp_TopicIcon
Return Content of a Cell every 45 rows down.
Avatar
Subash SD
Member
Members
Level 0
Forum Posts: 8
Member Since:
July 12, 2020
sp_UserOfflineSmall Offline
1
July 12, 2020 - 8:40 pm
sp_Permalink sp_Print

Hi, 

Can anyone explain this formula in layman language please.

=INDEX($F$1:$F$10000,3+(45*(ROW()-4)),1)

What it does is, it goes down every 45 rows down in an array $F$1:$F$10000 and returns the content of the cell. 

I, can't, for heaven's blessings, understand how it works, but it does beautifully. So if anyone can kindly explain the formula step by step, I would be extremely grateful. 

Thank You in advance for the answer/s.

Best regards,

Subash SD

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 871
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
2
July 12, 2020 - 10:29 pm
sp_Permalink sp_Print

Hello,

This formula works between rows 4 and 227.

If you highligt certain part of the formula, for example (ROW()-4) and then press F9 you will see the result of that part of the formula. CTRL+Z to revert back to the formula text.

=INDEX($F$1:$F$10000,3+(45*(ROW()-4)),1)

If you have this formula in a cell on row 4, for example A4, you will get the content from cell F3.
This is because of the 3 in the formula, as (ROW()-4) results to 0 and 45 * 0 = 0 and 3 + 0 = 3.

In row 5 you will get the content from F48, as (ROW()-4) results to 1 and 45 * 1 = 45 and 3 + 45 = 48.

If you want to get the content from every 15th row you just change 45 to 15.

Br,
Anders

Avatar
Subash SD
Member
Members
Level 0
Forum Posts: 8
Member Since:
July 12, 2020
sp_UserOfflineSmall Offline
3
July 13, 2020 - 10:28 pm
sp_Permalink sp_Print

Hi Andres,

Thanks for your reply. But I am still lost as to how does each function work.....Sorry, am a bit lame that is why wanted layman language explanation of the steps.

Thanks in advance please.

Best Regards,

Subash

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4449
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
4
July 14, 2020 - 8:52 am
sp_Permalink sp_Print

Hi Subash,

I think Anders did a great job of explaining what the formula does. But maybe you don't know that INDEX returns a value of reference to a cell or range of cells. Please watch this video for an understanding of what INDEX does.

The ROW function is in the INDEX function's row_num argument. ROW() returns the row number of the current row. It returns the current row occupied by the formula. It returns the current row because there is no reference in the ROW function's argument i.e. the parentheses are empty. 

The last argument for INDEX is 1, which instructs Excel to return data from the first column in INDEX's array argument, but since there is only one column being referenced, i.e. column F, this argument could have been omitted.

The rest is just basic math.

Mynda

Avatar
Subash SD
Member
Members
Level 0
Forum Posts: 8
Member Since:
July 12, 2020
sp_UserOfflineSmall Offline
5
July 16, 2020 - 10:57 pm
sp_Permalink sp_Print

Thank You Mynda

Thank You Anders

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Ayal Telem, Dieneba NDIAYE, Mark Stevens
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 871
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
Jessica Stewart: 204
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Murat Hasanoglu
Brett Dryland
Saeed Aldousari
Bhuwan Devkota
Kathryn Patton
Maria Conatser
Jefferson Granemann
Glen Coulthard
Nikki Fox
Rachele Dickie
Forum Stats:
Groups: 3
Forums: 24
Topics: 6222
Posts: 27292

 

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