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

  • Home
  • SEARCH
  • 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 78401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:58:54+00:00 2026-05-10T20:58:54+00:00

Let say I have a sheet in with columns Customer and CreatedDate with lots

  • 0

Let say I have a sheet in with columns Customer and CreatedDate with lots of row with data. Anyone who knows how to setup (through VBA or Formula) a second sheet that displays rows from the first sheet based on certain where statements, i.e. all rows with customers ‘created this month.’ (similar to a select … where query against a SQL database).

Thanks! /Niels

  • 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. 2026-05-10T20:58:54+00:00Added an answer on May 10, 2026 at 8:58 pm

    There isn’t an exact equivalent to the SQL select ... where functionality in Excel, but take a look at the VLOOKUP function. It may be what you are looking for. If that doesn’t have enough functionality, you will probably have to use VBA:

     Dim DataRange as Range Dim RowNum as Integer Dim NewRow as Integer Dim TestMonth as Integer Dim ThisMonth as Integer  Set DataRange = Range(Sheet1.Cells(1,1), Sheet1.Cells(100,2))  ThisMonth = Application.WorksheetFunction.Month(Application.WorksheetFunction.Today())  NewRow = 1 For RowNum from 1 to DataRange.Rows.Count     TestMonth = Application.WorksheetFunction.Month(DataRange.Cells(RowNum, 1).Value)     if TestMonth = ThisMonth Then         Sheet2.Cells(NewRow, 1).Value = DataRange.Cells(RowNum, 2).Value         NewRow = NewRow + 1     End If Next RowNum
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let say I have abstract class called: Tenant and Customer. The tenant in this
Let say I have an array like: Array ( [0] => Array ( [Data]
Let's say I have a style sheet dt{ width=15%; } dt x{ background-color:red; ????
For the sake of this question, let's say I have an Excel data source
let say i have function like below function doSomethingNow(){ callSomethingInFutureNotExistNow(); } at the moment
let say i have a page , and i want to allow 3rd party
Let say i have some words AB, AAB, AA. AB is not a prefix
Let say I have to parse a hierarchical set of tags <tag> <subtag1 attr1=value1
Let say I have are two WPF forms: Form1 and Form2 . Form1 contains
Let say i have a field 'category' with the value '1|2|3'. I want to

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.