Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8263799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:13:35+00:00 2026-06-08T04:13:35+00:00

i am very new to SQl and i have a complex report for my

  • 0

i am very new to SQl and i have a complex report for my job which i am trying to create in excel using a SQL stored procedure.the report itself will be in an excel workbook and consists of 3 monthly tabs for the entire year, the first tab should show detailed totals (total number of absences, total number of injuries, etc), the second will show a detail of each absent employee without a valid reason and the third will show a detail of each employee absent with a valid reason and the very last tab of the workbook will have all the raw data. Could someone please explain to me how that is possible without using VBA? i know i can extract data from SQL into excel without using VBA but the main part i’m having a hard time with is separating the data into each tab and creating the summary totals for each month.

thank you in advance wise once.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T04:13:37+00:00Added an answer on June 8, 2026 at 4:13 am

    You need to learn about data sources in Excel and how to set up a connection to the database. Here is an example of information on the subject: http://office.microsoft.com/en-us/excel-help/create-edit-and-manage-connections-to-external-data-HA010167227.aspx.

    Once you have data connections, you can then have queries in your spreadsheet automatically pull data from the database, without using VBA. Excel supports refresh functionality, which will reload all the data, at the user’s request.

    When doing this, I suggest the following:

    1. Have only one query per tab.
    2. Have the query pull data from a view, rather than writing a complicated query in Excel.
    3. Do not mix read-only reporting and database inserts/updates in the same spreadsheet.
    4. Use database permissioning to limit access to data, if appropriate.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi I'm very new to sql but have been passed a job in which
I'm very very new to sql server. I want to have a table with
I am very new to using SQL and I haven't been able to find
I have read these very good questions on SO about SQL stored procedures: When
I'm very new to SQL so forgive my ineptitude. I'm trying to write a
I'm very new to Entity Framework, that's my disclaimer! I have a SQL 2008
i am very new to SQL server Reporting Services.I have developed reports in SQL
Disclaimer: I'm very new to SQL and databases in general. I need to create
im very new to this and have a very basic knowledge php and SQL
I'm very new to using Linq-to-SQL, that's why I'm asking this question. I've searched

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.