Linking and formula help needed .....

bankersadam

New Member
Joined
Nov 2, 2005
Messages
3
Good afternoon, I hope there is some brainy person out there that can help me. I am in need of a formula and I'm thnking it may be complex .... although I admit to being a bit on Excel these days.

The deal:

I have several sales employees who have leads added to their "tracker" sheets (which are excel sheets) these sheets contain the following information:

Username, password, firstname, surname, Job Title, email, company name, Type of Business, Country, Rep, Contacted By, Tel, Start Date, Expiry Date, OnlineSub, Status at time of adding to tracker, Contacted, RESULT, Date, Notes, Marketing Campaign, Action

At the moment we have some marketing campaigns which all have the password of "banking" this gets put in amongst other leads, but I would ideally like a seperate spreadsheet to automatically update with all of the above information but only on any lead that has the password of "banking" so this could come from as many as 8 seperate lead sheets. And I am hoping that there could be one formula which will take all of the info from those lead trackers dump into another sheet so all columns are still visible and only on the password of "banking"

Can anyone help?

If you need me to be clearer, I realise that may look like jibberish, please let me know.

Thanks

Adam
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Sounds like you need a nice little loop.

try this.

Code:
Sub Banking()
' selects the sheet
Sheet1.Select
'selects first cell in Password column
Range("B2").Select
'selects entire Password range
Range(Selection, Selection.End(xlDown)).Select
' For each cell in the score range run if
For Each ThisCell In Selection
    ' If password = "banking" then continue if
    If ThisCell.Value = "Banking" Then
    'Selects Username
    ThisCell.Offset(0, -2).Select
    'selects row of data
    Range(Selection, Selection.End(xlRight)).Select
    'cuts the row
    Selection.Cut
    'Goes to new banking sheet
    Sheet2.Select
    
    'Goes to username header
    Range("a1").Select
    'Move down one row if active cell contains information
    Do While (ActiveCell.Value <> "")
    ActiveCell.Offset(1, 0).Select
    Loop
    'Paste in cut row
    ActiveSheet.Paste
    'End if
    End If
' select next cell in score range
Next ThisCell
'ends the macro
End Sub

:-D Phil
 
Upvote 0

Forum statistics

Threads
1,224,899
Messages
6,181,629
Members
453,058
Latest member
rmd0725

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top