I have imported a spreadsheet from our district's grade-keeping site. I want to insert a new row between every student and would like to find a way to do it without having to do it manually for each of every 700+ students. This row can be blank, but if there is a way to enter a copied row of information, that would be better.
I tried to write a Macro, but it only adds the new row at the same place each time.
I've got a problem involving several Dim'd Variables needing to be added up, they're all Dim'd as Variants though as they can be either strings or numbers at any time.
I need a formula (VBA) to add them up (to add their actual numeric values - not just a "1" if they contain a number) and ignore them all together if they contain string values.
I have a userform that I'm using to add data to a worksheet, with the following
Private Sub CommandButton1_Click() Dim OutSH As Worksheet Set OutSH = Sheets("Sheet1")
OutSH.Cells(nextrow2, 1).Value = Surname.Value OutSH.cells(nextrow2,2).value = ID.value OutSH.cells(nextrow2,3).value = Date.value ...... I need to ensure that duplicate entries are not made for the same person on the same date. The ID is unique to each person.
IF statement that can check for a duplicate and then come up with a dialouge box with some custom text, and then exiting the sub?
I am trying to add numbers from cells if it IsNumeric and for some reason in column K the macro doesnt recognize numbers after row 14?
The range column is "E4:E" Search criteria is the letter "R" in column "E" Then using OffSet, I go thru other columns and process data. Most of the macro works except for column K after row 14?
I have excel 2007. I am trying to do the EASIEST thing in the world and it just not working for me. Basically all I want to do is add days to an inputted date in a cell.
Works great if there's a date already in the referenced cell (A1), however, if I input a new date it doesn't re-calculate.
I have tried:
=B1+34
and =DATE(YEAR(B1),MONTH(B1),DAY(B1)+34)
Not recalculating when in enter in a different date into B1, why? How do I fix this so it will work correctly?
btw....basically I want to have a whole column (B) of the date formula so when I enter a date into cells in column A, it calculates.
Every day we extract data from a billing system and we import this data into Excel (customer names & invoices amounts). What i'd like is a VBA code that inserts a new row after every different customer and calculates the total amount for this specific customer.
See a simplified example below :
Customer 1 52.25$
Customer 1 154.25$
[Code] .....
What i would like is to have a row added after Customer 1 and then having a total amount of his invoices in this row. Same thing for Customer 2, 9 and 14.
I have a range of data (techniques) - example below....
AQ - Ask what other topics to include No DT - hjhjh ISL - Ask how Saj would manage the time AQ - Ask if there's anything else Saj wants to cover
I need to be able to calculate how many different techniques are used. No DT shouldn't be included in the count and if a technique is repeated, it should only be counted once. So the answer to the above is 2 as AQ appears twice and there is a No DT.
I am having a column which has numbers. The length of a number should be 8 or should be 8 digit.I want to standardize the columns by adding leading zero. For example
how do i add this =LOOKUP((E12+G12),{0,1500,6000,15000,55000;3.4,2.9,2.4,1.9,1.4})%*(E12+G12)+0.2 Into this fomula =IF(AND(E3>0,J3="Yes"),((E3+G3)*3.4%+0.2),0)
I m adding cell with alphabets. I attach a pic of what i want it to look like. Is there a command to do it for you instead of me outting one by one myself? Ex. 'A' must first followed by 'B' and so on, futhermore, if there a CApital 'A' and a lower case 'a' the capital 'A' goes first.
I have excel sheet with lot of number, I want total 7 digits in call. Some of numbers i have in 6 digits so I need to include 0 after “L” and Some of numbers is already has 7 digits.
e.g.
Numbers L34654 L215487 L54875 L459875 L48546
Need to add “0” after “L” L034654 L215487 L054875 L459875 L048546
I'm trying to get column Z4:Z14 to add automatically from information from Cells A15:Y17 under the correct name of each person. I have created an example sheet.
In this spreadsheet I am working on for calculating vacation time based on accrual rate. how to add pay period dates automatically based upon the first on entered. I have done this before in a personal budget spread sheet and this is what I have in that. First cell I enter the date Second and following cells I have the formula "=IF(DAY(E$8+7)>7,E$8+7,"")" Everything works perfectly. No matter what I put in the first cell the following cells will adjust and display dates 7 days later from the previous cell.
I am trying to do the same thing except pay period dates are 14 days apart so I put the same formula except change the "7's" to "14's). The problem I am having is that ONLY the first cell displays the correct date, the second displays a blank cell and the remaining displays "#VALUE!". What the heck is going on? I cannot figure out why this formula works in one circumstance but not the other.
I am not sure what I am doing wrong, but what I am trying to do basically is what ever I enter in the first cell, I want all remaining cells in the date column to enter the date of 14 days later. Example, I enter in the first cell 3/27/09, in the next cell I want 4/10/09 and in the next cell I want 4/24/09 to be entered and this all the way down.
I have 5 Sheets and want to ADD a particular cell say A20 from 4 of the sheets onto A20 on the 5th Sheet. In Lotus 123 sheets are identified as A:a20, B:a20 etc How are they identified in Excel?
When I'm doing cells in a column, there are times where I start a word and it tries to complete the word based on what I wrote before. For example, I'll put Base I, Base II, Base III... etc.
How do I get it to add the word base, but then I can continue typing the numeral after it? I do not want to create another column after with the numeral. So as I type B, A, [click certain button and continue typing] II
I am looking to Cut an entire row from one sheet(Sheet3 E2): to a new inserted sheet Name new sheet the contents of Cell E2 a Date type variable Then insert cut row Delete place it came from
I have variables DataArray(300) and Var being Variant
Here's what I'd like to accomplish: For each row that contains a URL that ends with a / I would like to remove it. If I use the find/replace feature, it would remove all /'s, which I don't want since a good majority of the URL's contain the /'s in various parts of the URL, such as in the example above. I'd also like to accomplish adding a / to the end of every URL for a list that does not have the /'s at the end.