STOCKHISTORY function in Excel 365 (2024)

Introduction

Excel is a powerful tool for organizing and analyzing data, but manually searchingthrough the history of financial data from different resources can be time-consuming. Inthis article, we will gain deep insights into the StockHistory function that is availableonly in Microsoft 365 and returns the array describing the stock history of financial dataalong with the specific dates that users specified in a range. The benefits of theStockHistory function include time savings, flexibility, comparative analysis, and so on.

Syntax of StockHistory Function

STOCKHISTORY(stock, start_date [,end_date] [,interval] [,headers] [,properties][..])
  • Stock − Specify the cell range or ticker symbol of the corporation in delimiter that is in double quotes which is valid Excel 365. For example, AAL, MSFT.

  • Start_date − It indicates the starting date when the stock data is extracted.

  • End_date − It specifies the ending date that stock data is fetched and is an optional argument.

  • Interval − It is also an optional argument and by default value is 0 representing the Daily stock value whereas 1 denotes the weekly stock value and 2 specifies the monthly stock value.

  • Headers − It is also an optional argument. It permits users whether to showcase headings or not. It comprises three values 0(heading is not illustrated), 1(include headings), and 2(display headers along identifiers).

  • Properties − It is also an optional argument and specifies the Excel columns that are taken out for every stock. It is comprised of 6 numbers that are 0,1,2,3,4,5 and 6 and by default, numbers are 0(Date) and 1(Close). The other numbers of specifications are given in brackets like 2(Open),3(High), 4(Low), and (5) Volume.

StockHistory Function in Excel 365

Step 1

Enter the formula =STOCKHISTORY("MSFT","15/9/2023") in the C3 cell. The headings Date and Close are automatically generated along with the starting date and the stock value when we press the “Enter” key.

STOCKHISTORY function in Excel 365 (30)STOCKHISTORY function in Excel 365 (31)

Step 2

Let’s go with other parameters. Users need to edit the formula =STOCKHISTORY("MSFT","15/9/2023","30/9/2023",1,1) in the same cell as shownbelow −

STOCKHISTORY function in Excel 365 (32)

Explanation

=STOCKHISTORY("MSFT","15/9/2023","30/9/2023",1,1)
  • The first argument represents the ticker symbol of the Microsoft company.

  • The second argument specifies the starting date from which stock data is to befetched.

  • The third argument indicates that the ending date stock data is to be extracted tillthis date.

  • The fourth argument specifies the weekly stock data to be displayed between thespecified dates.

  • The fifth argument denotes the stock data to be fetched along with headers.

Step 3

Press the “Enter” key to obtain the weekly stock data between the prescribed dates along with headers.

STOCKHISTORY function in Excel 365 (33)

Conclusion

This article will guide you through the procedure of using Excel 365's StockHistoryfunction. Users must carefully type the function syntax along with the appropriate parameters to obtain an accurate result.

Updated on: 22-Dec-2023

912 Views

Kickstart Your Career

Get certified by completing the course

Get Started

STOCKHISTORY function in Excel 365 (35)

Advertisem*nts

';

STOCKHISTORY function in Excel 365 (2024)
Top Articles
How to Be Happy Alone: 20 Ways to Be Your Own Best Friend
Artifact
Katie Pavlich Bikini Photos
Gamevault Agent
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Free Atm For Emerald Card Near Me
Craigslist Mexico Cancun
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Doby's Funeral Home Obituaries
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Select Truck Greensboro
Things To Do In Atlanta Tomorrow Night
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Craigslist In Flagstaff
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
Aaa Saugus Ma Appointment
Geometry Review Quiz 5 Answer Key
Walgreens Alma School And Dynamite
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Dmv In Anoka
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Pixel Combat Unblocked
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Rogold Extension
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Weekly Math Review Q4 3
Facebook Marketplace Marrero La
Nobodyhome.tv Reddit
Topos De Bolos Engraçados
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hampton In And Suites Near Me
Stoughton Commuter Rail Schedule
Bedbathandbeyond Flemington Nj
Free Carnival-themed Google Slides & PowerPoint templates
Otter Bustr
Selly Medaline
Latest Posts
Article information

Author: Rev. Leonie Wyman

Last Updated:

Views: 6788

Rating: 4.9 / 5 (79 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Rev. Leonie Wyman

Birthday: 1993-07-01

Address: Suite 763 6272 Lang Bypass, New Xochitlport, VT 72704-3308

Phone: +22014484519944

Job: Banking Officer

Hobby: Sailing, Gaming, Basketball, Calligraphy, Mycology, Astronomy, Juggling

Introduction: My name is Rev. Leonie Wyman, I am a colorful, tasty, splendid, fair, witty, gorgeous, splendid person who loves writing and wants to share my knowledge and understanding with you.