I'm trying to enter info in a cell based on what is entered in two other cells.
So I have a dropdown box for the species on another sheet as well as a dropdown box for rail sizes. Then I have to crossreference them to come up with an upcharge number. Sorry for my basic lingo. I hope it's understandable.
I have a list of names and the chores they need to do on a certain day. I need a formula that returns the chore the person needs to do when the date is filled in.
Ex: Sheet2 Col:A has names filled in A2:11 , row B1:J1 has dates that you would input. formula goes in B2:J11 Sheet1 is the master with all the data the formula would be pulling from. column A2:A11 has the names , row B1:S1 has the chore that needs to be done. B2:S11 has the dates already filled in.
In the attached spreadsheet you will see the table of data in cells e6:L16. In cell N6 i am doing a hlookup to find the date in the table of data that is closest to the date in cell A4. The formula in cell M6 is where i am having the problem and i was trying to pull in data that is 4 columns to the left of where the hlookup date is in cell N6. The problem i am having is when i input any date higher than 06/30/07 the Index formula does not display the correct date. What is confusing me is that the Hlookup formula in cell N6 still works with higher dates but the index formula does not.
I have a 2 groups of column headings with a different month and year in each heading so
1st Group of columns range Columns AJ through AX Column Heading example "Expense Ratio February 2013......next Column over is "Expense Ratio March 2013"
2nd Group of columns range AY though CE Column Heading example "Capital Balance February 2013......next Column over is "Capital Balance March 2013"
Each new month I need to add a new Expense Ratio column after the most recent expense ratio Column. (i.e. Find "Expense Ratio March 2013" and I need to add a column after that with heading "Expense Ratio April 2013"
Same thing for Capital Balance - add a new Capital Balance column after the most recent Capital Balance Column. (i.e. Find "Capital Balance March 2013" and I need to add a column after that for "Expense Ratio April 2013"
Because the ranges keep changing month over month, how do i do this.
I have an excel spread sheet with several rows of 265 (9A-IV) columns each with a heading. I would like to transpose the worksheet columns so that the heading is placed in Column A against the corresponding that is placed in column B. For example
How to get the Column Alphabet based on the Data it contains or the Column Heading using VBA?
Is it possible to get the Column Alphabet using any Macro or any function that within a Module it can always take the New Column Name during Execution..
Example: I have certain Columns where I have Yes and No Tick using the Wingdings P and Y.. Now these Columns are alternately Placed and there are six columns in all and they are spread over 12 Columns as the Alternate COlumns is reserved for Manual Entries.
Now I intend to increase the Manual Entry Columns but the problem is that every time I do that I need to make changes in my VBA Code.
Is it possible that even when the Columns are Inserted or Deleted in between before or after these columns I dont need to change the Explicit references by changing some approach.
I am not fuly conversant in VBA but use it whenever things are not completely feasible with Formulas AFTER GOOGLING.
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean) If Not Intersect(Target, Range("X3:X13")) Is Nothing Then ' You can Change the range here Cancel = True
As you can see the Ranges are Alternately Placed and there are about 6 such Columns with the above TICKS..
Now, how do I keep it FLoating so that even after changing the COlumn Location it does not need to get Updated i.e. X and Z Column Alphabets..
I have a 70x70 table where I teased out the largest 20 values. I'd like to utilize a formula to deliver the column headings (as well as the row) headings for each of these 20 values. VLookup and HLookup don't seem to work for me, and Index/Match seems to only work for single columns.
It might be worth mentioning that is highly unlikely that any of the values in the table are repeated.
I'm really tired of searching manually for the column containing a heading, as I have many columns. Isn't there a "simple" way to make a dropdown containing all the column headings in row 1, and upon selecting the heading of interest, have excel "go to" that column (maybe using a Find macro)?
I have a row of Headers A1 thru AO18. What I'm trying to do is have a small macro to go out and find "template" whichever column it may be in and insert a column to the left. I can make Excel insert the column to the left but obviously I can't have a fixed column designation because it will keep moving to the right of it and it won't work anylonger or I should say it doesn't put the column where I want it.
My problem is that the sequence of Colunms in my worksheet, with the similar data, keep changing. For example, an "Employee Name" may appear in column 3 or 5 etc. For this reason, I want to select a cell within any column by its heading rather than "A", "B", "C" etc. For example, I want to select a cell as below:
- which of course is not accepted by Excel
Similarly, I want to use Range with a column by its heading.
I will like to know the Column number for the column with the heading "SN", for example.
we use excell to mark our attedance in the formatt date in the column heading and name of the employee in the rows. what i want to do is create another sheet in which i want to track the start date and end of the leave for each employee.
In attached example, I have 3 columns of fractions with a final row of sumtotals (taken from elsewhere). I test to see which column has the maximum value in each row and allocate the result with the column's heading. Sometimes, two or more columns have the same max value. In this scenario, I wish to select the column heading that has the largest sumtotal.
I have range like (3E:3K) in this range are only 2 different expressions. "Result and " forecast". I wanna look from left to right for the first cell with the string "forecast". And than I want to work with the column of this cell, only this column.
How do i do that?
Edited I corrected the coordinates. I want to look in a specific column line (Nr.3) from there the first Cell with "Forecast" and from that String the row number.
They following 4 posts were based on wrong informations by me.
I have two data points a Talk Time Value lets say 2:08 and the number of calls lets say 10 and need to pull the column heading value for the number of agents needed lets say 2. My "Grid" is saved in one sheet and the my variable data values are in another. I need to somehow pull the closet match of my talk time value 2:08 and the calls value 10 to match up on my grid and give me the Column Heading which is the number of agents. Which in this example would be 2 agents. Just for reference in my other sheet I have my Talk time Value in C3 and my Call number value in D3. I tried various Index and Match formulas but have not got the one that I need to work the closet I have is =INDEX(Sheet2'B1:D1,MATCH(D3,INDEX(Sheet2'B2:D7,MATCH(C3,'Sheet2'A2:A7,1),0))).
example: in Sheet 2 ColA Col B Col C Col D Sheet 1 C3= 2:08 D3=10 Row 1 1 2 3 Row 2 1:00 0 3 4 Row 3 1:15 1 5 6 Row 4 1:30 2 7 8 Row 5 1:45 3 9 10 Row 6 2:00 4 10 11 Row 7 2:15 5 12 13
Pls help me do a macro that upon clicking a button it will copy and paste a column heading (located in Row1 of Sheet1) to all non-empty worksheets (Sheet 2 to Sheet N) in the workbook simultaneously. Note that each worksheet has no column heading and has the same number of columns as that of the column header in Sheet1. Worksheet 2 to Worksheet N contains data extracted daily.
I am doing a lookup, populating a column (which works although slowly) then (in this part) doing a search on the header row.. If the heading contains the word "Category", I wish to insert a blank column next to (the column containing the heading), colour it yellow then look for the next heading and repeat if found.
It appears to clear my first row so I must have my columns referred incorrectly as rows
Dim FWord As String Dim i As Integer Dim lCol As Long Dim MyString As String . . FWord = "Category" lCol = Range("A1").End(xlToRight).Column For i = 1 To lCol Cells(1, i).Value = MyString '
I have data (coming straight out of another system, so whilst is seems messy, its the easiest way to have it in Excel).... where there are a number of rows (one for each employee) - then every column represents a date in the month (so there are about 30 columns)....the cells contain a number of hours worked by that employee for that day.
I have figured out how many hours they worked for each day of the week, but my client now wants to know:
for each employee - how many Mondays did they work?- how many Tuesdays? and so on
I am happy to figure out the day of the week for the first date in the month and then manual set up another column heading above the date that tells me what day it is - but I feel that Excel may actually be able to work out what day of the month it is - although the dates come across from the other system as text - April 26, 2006 etc...
So I would like a summary in my sheet that has column headings Mon, Tues, Wed, Thurs, Fri, Sat, Sun and then for each row for each employee - I would like the number of days that employee worked for the month by these Days of the Week.
I have looked at Count if - but I need to be able to select the range of cells to count, and also the range of cells to evaluate for the criteria and I cant figure it out!
I have created a simple command button for tallying that will increase the count in the output cell by one every time it is clicked. It has basic code like this:
Private Sub ProductRegistration_Click() [D4] = [D4] + 1 End Sub
On top of that, I want the output cell of this command button to switch every day. In this case, it would move to E4 tomorrow. The columns are dated but I can't figure out how to get the output cell to automatically change with the system date so I don't have to manually change it every day.
I am trying to move info from an unformatted sheet to a sheet ready to import into a program. I need to look at the source sheet and if a column heading matches the heading on the destination sheet I need it to move the entire column to the destination sheet.
I have a table with a filter applied. I don't want all of the column headers to be filtered because the data in those column is not suitable filter criteria. Is there anyway I can remove the individual arrows on the right hand side of the cells in question?