I have a sheet with item numbers. I basically want to know if that item number exists in my second sheet in column C. I thought I could use VLOOKUP and just return the item number itself or else it would N/A but that isn't working.
I have a formula that counts if a date range is present. However I need to change it to count another column only if that date range is present. For example a17 a50000 the user will enter the date of the order. and in column B has the order number. I want the formula to count the order numbers for a data range in column A. Here is what I have but it is counting the dates in col A not the order numbers in B?
As you can probably see I need to get the sum of each customers sales and display this under Total Sales. I thought about using VBA but am not really sure where to start.
If anyone has any ideas how I could progress this I would be most grateful. I am using excel 2007
I am trying to 'tag' new part number records in a spreadsheet (see SS2 attached) - checking against a second excel which contains existing part numbers (see SS1)
If Part Number in SS2.xls (column B) appears in Item Code in SS1.xls (column B) then i would like to put a 'Y' or similar in column J of SS2.xls .
Basically, I need to be able to determine whether a particular letter is stored with another letter in the 'CG column' of the attached spreadheet.
The criteria is this:
1. Letter J can be present as long as there is no other letter in that column. 2. Letter B and D cannot be together in the column, but B can be with any other letter and likewise for D.
Basically, I could have a load of Js in the CG column and that would be fine. If another letter was with those Js, I need a warning box. I could have a B,H,S,T etc.....and that would be fine, but as soon as a D is entered, I need a warning. Similarly, if I had D,H,I,U,T etc......that would be fine too, but as soon as a B is entered, I need a warning again.
I have a column which cells are populated with codes like
BGW 3UG WWU 1BR UUBRG WUBRG 7UUGGRRR
and so on. As you could see, we'll always have a number from 1 to 20 (or no number at all) followed by those letters (which can be only W,U,B,R or G). I'd like to know if there is a function to count the # of times a particular character occurs in a colum. In the above example, the "U" character appears 8 times. This would be nice to automate part of the filling process.
Just a little difference: since numbers always come before the letters, I need to treat a number sequence as a single value: 12GWW should not be seen as 1 then 2, but "twelve", like it was a single character. So, if I have this column...
URR 12WBBB 6UBG 12R 12WG
...then "12" appears 3 times. Nevertheless, B appears four times (3 on line 2 and 1 on line 3.)
I have this list with articles at work. It looks like this:
1 1 1 2 2 2 3 3 3 etc
I wish to find out if any number in a column appear more then 3 times, and if it does, return that number to be. Is this possible with a formula? I've tried, but didn't succeed.
Obviously there is the Remove Duplicates option but I want something a bit different plus this option won't be available as the workbook is on complete lockdown.
There will always only be 214 rows to check in column B and the data cannot be sorted or it will mess a lot of things up!
Just wondering if there's some code that can check for duplicate entries because for the workbook to work, each row must have a different entry.
When the user selects this sheet a message box pops up telling them they can't have two or more entries the same but I feel this isn't enough as there's nothing actually stopping them doing this.
I'm currently working on an excel project for work, to replace our production tracking to something more current (anything is better than pen and paper!). I am in charge of keeping track of cases of product made on our shift: product code, flavour, bag size, current shift scheduled #s, next shift scheduled #s, total scheduled #s, produced (on our shift), and product on hold. For the most part, I've achieved to get all of it working, but I want to take it one step further, where it is completely automated.
Normally during the dayshift, we will receive an attainment report from the scheduler, and on this schedule, it lists out what amts are scheduled for each code, for the next 3 shifts. We would then manually write down each product code running on our shift, how much we're scheduled to run on our shift, and the next shift. Before the end of our shift, we would write up another production sheet for the afternoon shift, and the afternoon shift would do the same for the midnight shift, and again for dayshift until the scheduler revised the attainment report.
My file consists of 5 worksheets: Days, Afternoons, Midnights, Product, Schedule Days, Afternoons, Midnights will be where production data is stored throughout each shift. Product holds records for each type of product we produce. Schedule holds the scheduled #s for each product scheduled to run for the next 3 shifts.
So finally getting to the point, I would like to check the Schedule worksheet, column C for any non-blank cells, and copy the corresponding product code to the dayshift worksheet starting at A3, and the same for column F for afternoons, and column I for midnights.
I've been racking my brains trying to figure this out but cant, please can someone assist. I need to write some vba code that looks at cells in column aa and ag (on the same row) and displays a message is ag > 0 and aa <> "Agency".
I have two columns A and B filled with numbers. Column A has the identifier number and Column B has number that represents intensity for the data set.
Column A can be anything from 75-1000, however, sometimes the adjacent rows are not sequential (i.e. 101, 102, 104).
1) Is there a way to automatically check for skipping numbers in Column A. 2) When it finds a skipped number, insert a row for column A and B. 3) Then put the correct number in Column A (i.e. 103) then put 0 in for column B
What I would like to do is have a macro check a column for any occurrence of a few different numbers, and then enter the text "n/a" in a different column of each row that one of the numbers doesn't appear in.
I have a list of part numbers that require a certain operation, and I'd like to mark off a cell for each item that does not require that operation. I've attached a simple spreadsheet that should help explain this better.
I have a column that I want to check if a column contains any instances of particular values. If any are present I want it to return a 1, if not then return a zero.
I have some code here that I am using to find matches in Column D and then remove colored cell once the match is found. I am in putting the data line by line from a Barcode scanner and only want to run the macro if the date in Column A is today. Here is the code I am using.
I receive thousands of raw data every week as shown in the excel sheet {raw data}
I would like to use a macro that could automatically sort the raw data like the format in the excel sheet {template}
For example:
Looking at the raw data and compare with the template, i would have to delete the whole columns that have (BU_CODE , EAN_CODE, SUPPLIER_CODE, SUPPLIER_NAME , BRAND_NAME, and SUB_CATEGORY_CODE) and add in columns and name it as Principal, Cateogry , Brand and range).
I'm entering some time data (in format hh:mm) into Columns. Pretty basic Workbook that I have been given and, to be honest, it's just donkey work putting the data in. The times going down the Columns need to be progressive (ie B8 is arrival time, B9 is admission time etc). This goes through to B27 and then repeats from C8-C27 and ultimately J8-J27.
I'm looking for something as a formula to pop into Column K (or VBA, I don't mind!) which will do a simple verification to ensure that the times I enter is not less than the any of the cells above in the aforementioned ranges. I can do simply the cell above, but due to rusting of brain, can't think how to do this for the range!
I want to the user to press ebutton i.e Sunday and macro does the comparison.
Process
I would like macro to look at sheet "Check Hours" column "E" (cell E4) and compare it against the sheet "Check Employee Hours" column "E" (cell E7). If the hours matches i would like to say OK on sheet "Check Hours" cell E4, if it doesn't match then say CHECK.
I have a requirement where i need to check whether a value is entered in cells within a collumn and if so, it would set a default value to a cell on the same row but with a different collumn. this needs to occur on the run.
there are columns that i need to check and change the status column cell in accordance.
column client_name clumn date column start_time column end_time column status
first the macro is to check whether there is a client_name, if a value exist (example, smoth, doe, allen) it would set a default value to the status column on the same row as deviation (options are served, queued, deviation). then it would check if the date & time columns have value and is less than current date time, it would change the status cell to queued.
i know that there are several nested checks (if then if then if then) the problem is that vba is not one of the languages that i master hence im totally lost here.
i can add the finalizing features and rollout the spreadsheet.
and one more thing. i have multiple sheets with the same layout where these checks and changes need to be performed
I have a worksheet for a mailing list with name, address and other information. I need to search for the text "board" in the name column and if it is found, add a code to a different column.
I insert a button in spreadsheet, when I click this button a userform appears with place to input value. I would like to check the entire column (maybe < 100 rows), if there is number exceed the input, then disply that ROW in another sheet.