Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 156
Default Excel Drop Down/ Autopopulate

Hey!

I have a drop down menu with certain values (in my case, one of the drop
downs is titled "Billable"). I am trying to figure out how I can create a
formula which searches for all items labeled "Billable" and then pulls a
range of data associated with that label and populates only that data into a
new worksheet.

Do you have any advice on how I can do this?

Thank you so much for your help,

Philip
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 156
Default Excel Drop Down/ Autopopulate

I'm sorry, the autofilter for billable doesn't truly perform the function
that I am looking for.

Thank you for your help.

Philip

"Don Guillett" wrote:

How about just using
datafilterautofilterfilter on "billable"copy/paste. Record a macro if
often.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Philip" wrote in message
...
Hey!

I have a drop down menu with certain values (in my case, one of the drop
downs is titled "Billable"). I am trying to figure out how I can create a
formula which searches for all items labeled "Billable" and then pulls a
range of data associated with that label and populates only that data into
a new worksheet.

Do you have any advice on how I can do this?

Thank you so much for your help,

Philip



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Excel Drop Down/ Autopopulate

Both Autofilter or a loop will work.

Sub useautofilter() 'SalesAidSoftware
Dim lr As Long
Dim mc As String
Application.ScreenUpdating = False
mc = "U"
lr = Cells(Rows.Count, mc).End(xlUp).Row
Range("a2:x" & lr).AutoFilter Field:=21, Criteria1:="Billable"
Range("a3:x" & lr).Copy
Sheets("Tab1 Destination").Range("a3").PasteSpecial _
Paste:=xlPasteValuesAndNumberFormats, Operation:=xlNone
Range("a2:x" & lr).AutoFilter
Application.ScreenUpdating = True
End Sub

Sub copybillable() 'SalesAid Software
Dim mc As String
Dim i, lr, dlr As Long
mc = "u"
lr = Cells(Rows.Count, mc).End(xlUp).Row
For i = 2 To lr
With Sheets("Tab1 Destination")
dlr = .Cells(Rows.Count, mc).End(xlUp).Row + 1
If UCase(Cells(i, mc)) = "BILLABLE" Then
.Rows(dlr).Value = Rows(i).Value
End If
End With
Next i
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Don Guillett" wrote in message
...

If desired, send your workbook to my address below with these msgs and a
complete explanation.
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Philip" wrote in message
...
I'm sorry, the autofilter for billable doesn't truly perform the function
that I am looking for.

Thank you for your help.

Philip

"Don Guillett" wrote:

How about just using
datafilterautofilterfilter on "billable"copy/paste. Record a macro
if
often.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Philip" wrote in message
...
Hey!

I have a drop down menu with certain values (in my case, one of the
drop
downs is titled "Billable"). I am trying to figure out how I can
create a
formula which searches for all items labeled "Billable" and then pulls
a
range of data associated with that label and populates only that data
into
a new worksheet.

Do you have any advice on how I can do this?

Thank you so much for your help,

Philip






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Excel Drop Down/ Autopopulate

Actually, I like this even better
Sub useautofilter() 'SalesAidSoftware
Dim lr As Long
Dim mc As String
Application.ScreenUpdating = False
mc = "U"
lr = Cells(Rows.Count, mc).End(xlUp).Row
With Range("a2:x" & lr)
..AutoFilter Field:=21, Criteria1:="Billable"
..Offset(1).Copy
Sheets("Tab1 Destination").Range("a3").PasteSpecial _
Paste:=xlPasteValuesAndNumberFormats, Operation:=xlNone
Application.CutCopyMode = False
..AutoFilter
End With
Application.ScreenUpdating = True
End Sub


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Don Guillett" wrote in message
...
Both Autofilter or a loop will work.

Sub useautofilter() 'SalesAidSoftware
Dim lr As Long
Dim mc As String
Application.ScreenUpdating = False
mc = "U"
lr = Cells(Rows.Count, mc).End(xlUp).Row
Range("a2:x" & lr).AutoFilter Field:=21, Criteria1:="Billable"
Range("a3:x" & lr).Copy
Sheets("Tab1 Destination").Range("a3").PasteSpecial _
Paste:=xlPasteValuesAndNumberFormats, Operation:=xlNone
Range("a2:x" & lr).AutoFilter
Application.ScreenUpdating = True
End Sub

Sub copybillable() 'SalesAid Software
Dim mc As String
Dim i, lr, dlr As Long
mc = "u"
lr = Cells(Rows.Count, mc).End(xlUp).Row
For i = 2 To lr
With Sheets("Tab1 Destination")
dlr = .Cells(Rows.Count, mc).End(xlUp).Row + 1
If UCase(Cells(i, mc)) = "BILLABLE" Then
.Rows(dlr).Value = Rows(i).Value
End If
End With
Next i
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Don Guillett" wrote in message
...

If desired, send your workbook to my address below with these msgs and a
complete explanation.
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Philip" wrote in message
...
I'm sorry, the autofilter for billable doesn't truly perform the
function
that I am looking for.

Thank you for your help.

Philip

"Don Guillett" wrote:

How about just using
datafilterautofilterfilter on "billable"copy/paste. Record a macro
if
often.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Philip" wrote in message
...
Hey!

I have a drop down menu with certain values (in my case, one of the
drop
downs is titled "Billable"). I am trying to figure out how I can
create a
formula which searches for all items labeled "Billable" and then
pulls a
range of data associated with that label and populates only that data
into
a new worksheet.

Do you have any advice on how I can do this?

Thank you so much for your help,

Philip





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Excel to autopopulate color.. Johnny Levy Excel Discussion (Misc queries) 3 September 29th 08 11:13 PM
Drop down menu with emp name then autopopulate with supervisor... Paul (ESI) Excel Discussion (Misc queries) 10 August 28th 07 07:06 PM
Autopopulate a drop down list in Excel How to autopopulate a drop down list Excel Discussion (Misc queries) 2 July 31st 07 11:26 AM
Help with Excel - autopopulate a long table based on infor from an jcpotwor Excel Discussion (Misc queries) 2 July 12th 07 03:12 PM
Autopopulate with zero roy.okinawa Excel Worksheet Functions 3 December 14th 05 01:11 AM


All times are GMT +1. The time now is 07:28 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"