Filter Data Based On "Service Type"

Dec 7, 2009

I'm trying to use the following formula to filter data based on "Service Type" and it seems to work on one of the service types but not the other. here is the formula

=IF(LEFT(A5,1)="0","Both",IF(OR(A5="SERVICE",A5="REVENUE",A5="REVENUE",A5="CIC",A5="RAO",A5="CARRIER NAME",A5="TYPE",A5="RECORDS",A5="INCLUDING TAX",A5="BEFORE TAX",A5="FEDERAL TAX",A5="PROVINCIAL TAX"),"Both",IF(LEFT(D5,3)="REG","Table1",IF(OR(D5="900"),"Table2",IF(A6="",IF(B6="","XXX","TRUE"),"XXX")))))

Notice the highlighted red text, this is where I'm trying based it on "Service Type". I have also attached on example workbook, the items highlighted in green should marked as "Table1" and items highlighted redish orange should be marked as "Table". Wierd thing is that I use a similar formula in another workbbok and it seems to work fine.

View 2 Replies


ADVERTISEMENT

Vlookup, Match, Index: Calculation By Customer, By Service Type

Sep 24, 2009

Using Excel 2003 and am trying to do a calculation by customer, by service type. Attached is the workbook and I've tried numerous ways to do this. On the revenue calculation worksheet, I am tryng to calculate the type of service minutes from the data retrieve worksheet, multipled by the service rate on the rate table for the specifc type of minute by customer. I'd like to build it as a vlookup by customer and then by service type, but have run into difficulty.

View 4 Replies View Related

Length Of Service For Service Awards

Dec 8, 2009

I have an excel spreadsheet with the column headings a1(Emp Name), b1(Hire Date[dd/mm/yy]). There around 1000 records of employees. Every month I have to generate a report for the following month, for example by the 3rd week of this December 2009 I have to extract the report of following staffs from those 1000+ records.

- those who will be completing 1 year in January 2010
- those who will be completing 5 years in January 2010
- those who will be completing 10 years in January 2010
- those who will be completing 20 years in January 2010

How shoud I do it? What should be the formula in which cells? I would appreciate if anyone could guide me with the complete formula with a very reliable way to do it.

View 9 Replies View Related

Calculate Totals Based On Age Restrictions And Years Of Service

May 28, 2014

Per the attached, I am looking to add restrictions to my formula based on YEARS OF SERVICE per the age restrictions each person falls into, those with 0-4 YOS who are under 20 years old etc.

Book10.xlsx‎

View 4 Replies View Related

Creating Catch All Booking Form And Contract System Service Based Company

Feb 19, 2014

I've been tasked with creating an updated booking system for a company which offers projects / services to the educational sector (UK Primary Schools.) I've done an alright job at augmenting their current Excel based system, but I would like to take it further so that the system is more all encompassing.

Currently, the booking form is filled in when a booking is made and the data from that is populated into their copy of the contract and our copy of the contract using simple "=" and to a certain extent, the text on the contracts is manipulated based on the booking form data using "IF" functions.

There is a basic macro which removes excess lines from the contracts if they aren't used, but that's about it. The difficulty we're having with the current system is that a lot of our projects are bespoke, happen over more than one date, and require a lot of manual manipulation in order to get them ready, which sort of defeats the object of having a 'clever' booking system.

I don't know very much about VB, but the sort of thing I would be looking to integrate is having drop down lists to select a 'project' which would load project-specific text into the contracts area. Also, instead of having to remove lines manually, I would like the data to be 'dropped in' creating rows as appropriate.

View 2 Replies View Related

Customer Service Data Entry Form

May 8, 2009

Have a small data base with customer details and comments. I would like a form to sit over that so that people on phones can enter customer # and check info and add further comments etc. for a specific customer. Before I try and design a form is there any templates for this type of thing. Have done a Google and Ozgrid search, but I maybe asking the incorrect names for the procedure.

View 2 Replies View Related

VBA Code To Filter Listbox As You Type In A Textbox

Nov 26, 2008

I have a list of customers in listbox1 (the text values of which come from a spreadsheet), that I want to refine as I type in textbox1. I'm not sure if it's possilbe, but I would like it to work similar to the itunes search (if you're familiar with it) where it searchs for any occurance of the text within the list as opposed to just searching for the letters at the beginning of the word.

View 9 Replies View Related

Automatic Auto Filtering: Filter The List And Have A Box For Users To Type In Text

Aug 25, 2006

I have a list of a couple of thousand (and more) individual items. I want to filter the list and have a box for users to type in text (there are no numbers) and the results will be seen automatically reducing in number as more text is entered. (Similar to the Windows HELP files )

eg, typing A (or a) will show all entries beginning with A (without pressing
"Enter" or similar
typing AB will show only entries beinning with AB
typing ABO will show .........I guess you will understand the idea.

I have tried various forms of Filter - Auto and advanced - but still cannot get the spreadsheet to do what I want. Unless I am not doing the Autofilter (or Advanced filter) correctly (I am still a relative beginner!) I still cannot find a way of simply adding letters to a cell or input box and the filtering takes place 'automatically' as the letters are added.

View 8 Replies View Related

Copy / Filter Data Based On Data In Column Occuring X Times

Mar 7, 2008

I have a excel worksheet with the following columns: First name, Last Name, Email address, domain of email, product type, date registered. The list consists of about 50,000 entries. I want to sort the list by the domain of email(which I am able to do already) Once this is done, I want to find all instances of where a domain appears at least 10 times on the list(such as webmessenger.com appears 40 times, so I want to get that data).

For those instances where the domain appears at least 10 times, I want to pull those rows out of the intial list and put them in a new list(the new list will be sorted by domain and will only have people who have a domain which appears at least 10 times). To make this a bit more clear, The initial list I have is a list of people who registered to use the software my employer makes. We are trying to locate companies which may have many people using our consumer version of the software. When there is a large amount of people in the same organization using our software, it would benefit them to upgrade to the enterprise version due to enhanced managment features. By running this filter, I can see which companies have at least 10 users registered to use our software. Of course I will remove any Gmail/yahoo mail/msn/hotmail... pretty much any public email domains and just leave the ones that are obviously corporate emails.

So far, I think it probably has to be done with a pivot table... I was able to get a table that tells me how many instances occur from each domain, but I cannot get it to display the actual data(it just says IE. company.com 200, yahoo 120, etc... I need it to show me the 200 rows of company.com emails and extract them to a new sheet so that I can then follow up with company.com and see if they are interested in the corporate version.)

View 2 Replies View Related

Excel 2010 :: How To Filter / Sort Data Based On Partial Match Of Data In Cell

Apr 16, 2013

I am using Excel 2010. I am a novice user.

I have a lot of data to filter / sort. I want to initially to create a filter for a column of data - which has the format similar to hierarchical paths to files. The data is a mix of text/numbers. e.g.

pathA/path_X/path_Y/path_Z/lso0_rxs_reg_254__5_0/d
pathA/path_X/path_Y/path_Z/lso0_rxs_reg_253__5_0/d
pathA/path_123/path_456/data_out_reg_17_0/d
pathA/path_123/path_456/data_out_reg_0_0/d
pathA/path_X/path_Y/path_Z/lso0_rxs_reg_255__5_0/d

[Code] .........

Doing an alphabetical sort of this date would return the following order. As you can see while each strings in unique - there are many instances where they are simialr - if you ignore the unique numeric values at the end of the string.

pathA/path_123/path_456/data_out_reg_0_0/d
pathA/path_123/path_456/data_out_reg_17_0/d
pathA/path_123/path_456/data_out_reg_4_0/d
pathA/path_X/path_Y/path_Z/lso0_rxs_reg_230__6_0/d

[Code] ......

So what I want to do is to create a filter for the strings - but ignoring the numeric bits at the end i.e.

reg_[0-9]+_+[0-9]+/d

The strings are obviiously of varying length and the number of hierarchical paths is different, so I can't split string on "/".

Similarly folder paths names can contain "_" so can't split string on this either.

As I don't know how many "/" or "-" instances there will be in the string I don't believe I can use the find function. Also as the amount of number will be different i don't think I can use =right(a1,X) either.

I may be able to search for the pattern above - as this is probabay unique - so maybe it's something like the following pseudo code:

Function GetString(txt As String) As String
With CreateObject("VBScript.RegExp")
.Pattern = "reg_d+(_)+d+//d"
GetString = .execute(txt)(0)
End With
End Function

If I do require VBA code - how do I then use this for creating a column filter? Or will I have to extract the filtered data first from the column (and its associated row data) into another worksheet to use?

Once I have the filter in place I want to create tables using the filtered data - so for example each column value above has a lot of associated data values in each row e.g

26 pathA/path_123/path_456/data_out_reg_0_0/d
32 pathA/path_123/path_456/data_out_reg_17_0/d
8 pathA/path_123/path_456/data_out_reg_4_0/d

So my table would show the name "data_out_reg" and the range of values 8-32

View 1 Replies View Related

Filter Data Based On Header

Nov 15, 2012

On sheet1 I got a lot of columns with data, starting from row 8, which is the header.
On sheet2 I'd like to retrieve the filtered data, based on the value mentioned in cell A1 (on sheet2)

So if for example cell A1 on sheet2 shows "Peter", the code should filter the data on sheet1 with "peter" in the header.

The filtering should be based on cell color (red in this case)
The filtered data should then be copied to sheet2 starting from A3

View 3 Replies View Related

VBA To Filter Data Based On Contents Of Range

Apr 24, 2014

I'm trying to add a line of code to filter some data based on a date in the range cell C3.

This is my code;

[Code] ....

It doesn't seem to work.

View 4 Replies View Related

Filter Subsets Of Data Based On A Flag

Feb 25, 2007

I have a list of items in column A. And a "flag" in column B. I have attached a small sample. What I need to be able to do is "Hide" all the items in column A where there are no flags for that item in column B. This I can do. The problem is that if a flag shows for an item, I want to show ALL of the rows containing that item, even if there are no flags for some of them, and hide the rest.

View 3 Replies View Related

Filter And Sort Data Based On Names And Hours

May 2, 2014

I just want to filter and sort the data based on names and hours.

Here it goes:

1. Filter Column F.
2. Filter it by: UK & M UK
3. After that, filter Column E in "Ascending order"
4. Count the data that are:

-starts 1:01AM - 7:59AM and display the total count in Sheet2, if there are no data in other specific time, then display a value "0"

For example for UK and M UK:

In Sheet 2, ("F5") = 3 as there are 3 data, G5=1, H5=0 and so on and so forth..

I've attached my file : Filter and Sort.xlsx‎

View 3 Replies View Related

Trying To Build A Macro Filter Based On Data In Either Of Two Columns

Jul 31, 2008

I created a contact list that incorporates buttons at the top of the page to sort the data based on two customer type columns (thanks to Richard for help getting this far!).

I am attaching the file so that it will be easier to take a look. Four of the five macros are working fine but the second one ("All Clients") filters on the premise that "yes" is answered in either of the two customer type columns. In other words I am trying to show the records that have "yes" entered in either of these two columns, not necessarily both columns.

View 9 Replies View Related

Filter Data Based On Values Located On Another Worksheet

Dec 28, 2011

On a first sheet, I have a list of cities where physicians travel along with an autofilter. On that same worksheet, I have a cell where users can input a zipcode.

On a second (hidden) sheet, a function calculates and displays in column F the distance in miles between the user-input zip code and all the cities in 4 states. The cities are listed in column D.

I need to filter all the cities on the first sheet (the ones where the docs travel) based on their distance from the user-input zipcode - namely all the cities located less than 150 miles from that zipcode.

View 4 Replies View Related

Filter Pivot Table Based On Data Validation In Another Sheet

Feb 14, 2013

I found this code and am trying to use it to update the filter in my pivot table (sheet 6), based on the data validation selection in sheet 1, but when I make my selection on sheet 1, nothing happens.

Private Sub Worksheet_Change(ByVal Target As Range)
Dim ws As Worksheet
Dim pt As PivotTable
Dim pi As PivotItem
Dim strField As String
strField = "Region"

[code]....

View 3 Replies View Related

Excel 2013 :: Filter Data And Edit With A Search Instead Of The Filter Button

Oct 5, 2013

I have a database in Excel 2013 and now I want that when a value (a person's name) is entered in a cell. That then the database sort of filters the list for me, so it's still possible to make changes in the entries.

[URL]

Picture above to specify the search, which I would therefore like to edit

Dashboard_Action Pool Team 7.2.xlsm

I have been all morning working on a simplified version of the tutorial from YouTube: Create your own Excel Search Pt. 4. But came back later so only then that I can not change the data:?

View 2 Replies View Related

Length Of Service

Jul 17, 2006

I would like to create a formula that would calculate the length of a person's employment, i.e. hired 8/14/94 till today, for example.

View 10 Replies View Related

Sumproduct Syntax:. Don't Say 'yes', For Each Service

Jun 23, 2009

I have a large spreadsheet like this

NephrologyPrinted resent 26.05.09 chased
Nephrology28.04.09 resent 26.05.09Yes
Nephrology28.04.09 resent 26.05.09Yes
Nephrology28.04.09 resent 26.05.09Yes
Nephrology28.04.09 resent 26.05.09Yes
Nephrology28.04.09 resent 26.05.09Yes

There are plenty of other columns, but these are key. The first column is the service type, of which there are 40. I want to have another worksheet that totals all the entries in the third column that don't say 'yes', for each service. So, in this case the first line of my new workbook would say: Nephrology1

View 4 Replies View Related

Calculating Minutes Of Service Between 7 Am And 3pm

Feb 11, 2012

I run stats for an operating room and want to be able to look at total patient in room minutes between 7 AM and 3 PM. Problem is, many cases go past 3pm and I want to subtract that out. I have patient in room time and patient out of room time, so in essence I want the total number of minutes the patient was in the room between the two times minus turnover time. I have a pivot table ready to go.

View 7 Replies View Related

Calling Web Service In VBA Excel

May 14, 2014

I have a web service URL from vendor, i need to call the particular method in that web service and pass parameters to method from VBA excel. In C# its working fine.Same method like i need to do from from Excel VBA. My doubt is how to form authenticate xml and how to call a particular method using soap action URL.

View 1 Replies View Related

Sum Based On Word Type In Excel?

Dec 28, 2012

I need to read A1 Rows and if it's values is bold letters then i have to add from top of it's above un bold members like that the should work for 2000 rows Like below Ites income - (A) vlues need to be added from row 3 to row 9

A) ITES
ITES Income
B P O - Domestic
4000101

[Code].....

View 1 Replies View Related

Advanced Filter To Filter A List Of Data

Jan 14, 2010

How do I go about using an advanced filter to filter a list of data e.g.

boat
boat
boat
car
car
truck

and have the filter extract only the boat entries to another worksheet, so on another worksheet I end up with

boat
boat
boat

View 9 Replies View Related

Advanced Filter :: Filter Data Between Two Dates

Mar 15, 2007

1- Force cell format date to by (yyyy/mm/dd) only, with worng msgbox( validation).

2- Make the first day of a month in a color cell

I've Tried this In Conditional Formating (=VALUE(right(A1;2))=1) but didn't work

3-Make Advanced Filter to filter data between two dates .

View 5 Replies View Related

VBA MVP's: Restart Windows Service With A Macro

Feb 10, 2010

Is it possible to restart a Windows Service with execution from a VBA Macro?

When you go into Windows Computer Management you can see a list of services. You can click a hyperlink to start, pause or restart.

View 9 Replies View Related

Change Font Type Based On Cell Value

Aug 25, 2014

I have a workbook that includes a drop down list with three options. One of the options is "TA". The default font type for these cells is "Wingdings" but when "TA" is chosen I want the Font Type to change to "Arial".

View 11 Replies View Related

Formula To Calculate Years Of Service For Next Year

Dec 13, 2012

The formula that I currently have in E2, is giving me the number of years served by an employee. Is there another formula that can give me the number of years each employee has served? This is the formula that I have in E2

[Code] .....

Attached File : VACATION DAYS ACCURED.xls‎

View 9 Replies View Related

Calculating Business Hours Of Service Request

Apr 12, 2012

I'm trying to find a formula for calculating the number of business hours a service request may be open; this request may have been opened and even closed outside of business hours. I found a formula that appears to be working:

=(NETWORKDAYS(StartDate&TimeCell,StopDate&TimeCell,holidays)-1)*(CloseTimeColumnLetter$CloseTimeRowNumber-OpenTimeColumnLetter$OpenTimeRowNumber)+IF(NETWORKDAYS(StopDate&TimeCell,StopDate&TimeCell,holidays),MEDIAN(MOD(StopDate&TimeCell,1),CloseTimeColumnLetter$CloseTimeRowNumber, OpenTimeColumnLetter$OpenTimeRowNumber),CloseTimeColumnLetter$CloseTimeRowNumber)-MEDIAN(NETWORKDAYS(StartDate&TimeCell,StartDate&TimeCell,holidays)*MOD(StartDate&TimeCell,1),
CloseTimeColumnLetter$CloseTimeRowNumber, OpenTimeColumnLetter$OpenTimeRowNumber)

What I don't know is HOW it works, I don't know what any of those formula's mean (with the exception of NETWORKDAYS). I'm trying to "show my work".

View 1 Replies View Related

Redundancy Table To Calculate Lenght Of Service

Apr 16, 2007

i am working on a redundancy table to calculate lenght of service at a certain age and what the redundancy in years will be,

age----------------years
less than 23------0.75 per year
23 to 42----------1.5 per year
43 and above----2.25 per year

these figures only count for the years they have been that age

examples

a person who is 22 and worked for two years would get 1.5 years redundancy, 2 x 0.75

a person who is 23 and worked for two years would get 2.25 redundancy 1 x .75 + 1 x 1.5


i can do this table manually adding on to each previous but wondered if someone might have a nice formula that would calculate it automatically

i would imagine there would have to be some kind of lookup to find out how many years they have been in each age bracket

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved