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 781819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:17:28+00:00 2026-05-14T20:17:28+00:00

Im stuck in Excel 2007, running a query, it worked until I wanted to

  • 0

Im stuck in Excel 2007, running a query, it worked until I wanted to add a 2nd row containing “field 2”.

Select "Site Updates"."Posted By", "Site Uploaded"."Site Upload Date"
From site_info.dbo."Site Updates"
Where ("Site Updates"."Posted By") AND "Site Uploaded"."Site Upload Date">={ts '2010-05-01 00:00:00'}), ("Site Location"='Chicago')
Union all
Select "Site Updates"."Posted By", "Site Uploaded"."Site Upload Date"
From site_info.dbo."Site Updates"
Where ("Site Updates"."Posted By") AND "Site Uploaded"."Site Upload Date">={ts '2010-05-01 00:00:00'}), ("Site Location"='Denver')
Order By "Site Location" ASC;

Basically I want 2 different cells for the locations, example

name - Chicago - denver
user1 - 100 - 20
user2 - 34 - 1002

Right now for some odd reason, its combining it like:

name - chicago
user1 - 120
user2 - 1036

Please note updating to 2010 beta is not a viable option for me at this point. Any and all input that will help me is greatly apprecaited. I have read over http://www.techonthenet.com/sql/order_by.php however its not gotten me very far in this question. If you have another SQL resource you recomend for people trying to get their feet wet, I’d greatly apprecaite it.

If it helps all the info is on the same table.

  • 1 1 Answer
  • 1 View
  • 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-05-14T20:17:28+00:00Added an answer on May 14, 2026 at 8:17 pm

    If what you are trying to return is the number of site updates by “Posted By” and “Site Location”, then you could try something like the following.

    SELECT "Posted By", "Site Location", COUNT(*) AS "TotalUpdates"
    FROM "Site Updates"
    WHERE "Site Updated" >= '2010-05-01 00:00:00'
    GROUP BY "Posted By", "Site Location"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an VSTO excel 2007 Add in. For this I have created a
Arr, I am stuck! I'm writing an Excel add-in that opens up a custom
I'm trying to run the below-mentioned code in VB(Excel Macro) but I'm stuck with
I am trying to use the stock standard win32com approach to drive Excel 2007
All of these questions: Excel 2007 Hangs When Closing via .NET How to properly
Has anyone successfully transferred data into Excel with multiple spreadsheets? I'm stuck with it.
South migrations have worked quite well until now when I think it got mixed.
using php i exported report in excel.But got stuck in merging cells. i want
I currently making an Excel VB application. However, I am stuck at the moment.
I’m trying to create a COM User Defined Function automation add in for Excel

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.