I am making a personal expenses sheet to calculate my monthly expenses. i have each expense on my CC marked according to a validation list I have (for example Gas, Grocery, Shopping, etc)
How do i combine the Sum and Vlookup formulas to return the total amount spent on Gas for instance. This will be used for each of my type of expenses.
if its not possible, I can probably just write a macro.
i'm trying to take a selected row of about 7 cells (which are obviously all positioned horizontally) and have it inserted, via vlookup using the drop down option of 'Data Validation', to another location but having all the cells lined up vertically, meaning going down 7 cells. I would guess that a shorter explanation of what i'm trying to do is to have the vlookup transpose 7 cells.
I need a formula to look up an ID# from one sheet and return the sum of all cells (in another column) that have the same ID. I have security a security ID number and have a list of all holders of that security, but I need to sum the total value and total shares for a firm wide report.
I have a cell with the VLOOKUP function. I know that VLOOKUP searches down Column A until it finds what you told it to find, then returns the value of column you specify. The problem I am having is I will have the "item searched" listed more than one time and will need the sums of that item totaled.
My formula looks like this: =VLOOKUP(A63,March!$A$9:$G$42,7,FALSE)
For example, lets say that "Apples" are in A63. On the 4th of March I sell 4 apples, and on the 18th of March I sell 5 apples. I need the total in the formulated cell to read "9".
Really simple data sheet: list of names with homerooms Lookup table: list of homerooms with teachers. (named "Range")
=VLOOKUP(E2,Range,2)
Some of the cells return the correct name, others #N/A.
As far as I can tell they are all formatted exactly the same; I've tried several different formatting options. The correct ones stay the same; the no data ones do not change either.
I have the above formula set in a workbook. I have sheet 1 with my main information. I have sheet 2 with all my directives.
sheet 1 contains: cell c3= client cell c4= project The vlookup I have entered in cell c5 is to return a job number based on the project in cell c4 which is listed on sheet2. Problem is, I have multiple projects named the same. They're under different clients. I found a post that said I could use:
=vlookup(C3&C4,'Named Fields'!AH3:AM116,6,FALSE)
But that didn't work.
Is there any way to have vlookup find what's in cell C3, then proceed to cell C4 to returns the results in the 6th column?
i currently have a spreadsheet that uses vlookup and match to identify data that matches 2 criteria.
so there is a table with names on the left and dates on the top, and the dates change over time. this reference another table with the data for the names at all dates. therefore, the formula does is a vlookup with a match inside it.
this works well.
so say today is Jan 1. Columns 1, 2 and 3 are Jan 1, Feb 1, March 1 On Feb 1, columns 1, 2, and 3 are Feb 1, March 1, April 1
in column 4, i want it to equal the sum of the data for all dates beyond the date in column 3.
does this make sense?
i attached a small sheet i was working on to play around with these functions. in the sheet i just used numbers (1,2,3) instead of the dates for simplicity
Worksheet1!A2 holds a text value Worksheet1!B2 holds a text value
Worksheet2!D2 holds a text value Worksheet2!C2 holds a text value
Is it possible to use vlookup to find a match for Worksheet1!B2 in Worksheet2!C2 where the combination of Worksheet1!A2, Worksheet1!B2 is the same as the combination of Worksheet2!D2, Worksheet2!C2?
I am using vlookup to get the values from another workbook. Is it possible: i use 2 Lookup_value & fetch the matching values. In workbook1: I want to Lookup_value A1 with another workbook2 AND ALSO Lookup_value B! with workbook2 & then fetch a vaue lying in the 20 column (Colm_index_num).
I have made a spreadsheet that essentially works out a cost dependant on which department the work was completed in.
I have a seperate tab with the department names in column A and the charge rates in column B
On the second tab I have a spreadsheet that has columns A and B for hours used and material cost.
The third column is the dept name
The 4th column is the variable charge rate which changes dependant on which department is put in colum 3
The 5th Column is the total cost.
In the 5th column I have this formulae:
=VLOOKUP(F7,'Variable Costs'!A3:B16,2,FALSE)
This work fine.
However, the spreadsheet has about 200 entries per week and all the cells in column 4 and 5 are showing "#N/A" becuase there are no values for them to work with.
I don't like seeing this and normally will use the "IF" function to say that if column A and B are greater than 0 then do the sum, if not show "0"
This for some reason doesn't work with VLOOKUP. Not the way I am using it anyway
I have attached the file, in the last sheet (Consolidated) i need to get the data from all the previous sheets, my problem is that whenever i have similar cells the data that is showing is only the first value and not the sum of all values,
SHEET1 Cell A1 HAS EIGHT CHARACTERS THAT MATCH THE FIRST 6 CHARACTERS IN A1 OF SHEET2. BUT, SHEET1 CELL A1 THE FIRST CELL HAS 8 OR MORE CHARACTERS.
HOW DO I GET A VLOOKUP TO COMPARE TO FIRST 6 CHARACTERS OF SHEET1 TO FIRST 6 IN SHEET 2? In columm B sheet1 i would like the result of column c sheet to, e.g. 9
E.G. SHEET1 A B C DOGGIEDO SHEET2 A B C DOGGIE 5 9
if it is possible to change a cell that the vlookup has found without scrolling all the way to that cell.
I have attached a small sample of my workbook. Once the vlookup has found the item I would like to change the number in G5 and make it change the number below in the OUT column that corresponds with the found item.
Example: row 11 is found with vlookup. i want to be able to change G5 to the number 8which will make G11 the number 8. And then make it stay even after i have done vlookup on another item.
I believe this will require a VBA code. Also I am using Excel 2007. I have added a test page. It is saved in 2007 format. If anyone needs it saved in 2003 please ask.
I have the following issue I have a fixed value in column N this is vlooked up into a cell in the same row after a specific cell value (category):
Toilet Category X Brush Category X Handle Category X Door Category X Computer Category X
The table above shows that the initial column is fixed i.e Toilet, Brush etc however the X's are dynamic but they will always be placed after the word Category. I think a VBA solution is needed but I can't figure out how to do it.
1. can i limit vlookup on sheet2 to search only a certain range of cells on a sheet1.
example, I want vlookup to look in sheet1, colum A - Y but only look between rows 1 and 100
2. If 1 can be done, and i happen to add a row in worksheet1 (making it 101 rows vice 100) will the vlookup code on sheet2 include that 101st row or do i have to redo the range manualy.
spans over columns A:BM. column headers are in Row 2, data starts in Row 3 the number of rows varies month-to-month in column A, the values are either N or Y. Column B contains xREF numbers, where if the value = N, the xREF is unique; for values = Y, the xREF = an N value xREF number (hope that makes sense!) Where column A value = Y, some row cells are empty. All N record cells are populated. starting in Column C, I want all empty cells (basically all rows where column A = Y) to be populated with a VLookup formula where: Ø lookup_value = xREF in column B Ø table_array = all N values records spanning B:BM
I can get it to work for column C by autofilling to the last row but if I autofill across columns, the col_index_num stays the same and I can’t figure out how to increase it by 1 as it autofills across.
Sub RangeLookUp() Dim Rg As Range For x = 3 To Range("A65536").End(xlUp).Row If Range("A" & x).Value = "N" Then Set Rg = Range(Range("B3"), Range("BM3").End(xlDown)) ActiveWorkbook.Names.Add Name:="TheRange", RefersToR1C1:=Rg End If Next x ' VLookup for blank cells........................
I have a worksheet that is utilizing a VLookup to pull some values from another worksheet based on a composite number. I have checked the numbers for their format, length, and value (dangling spaces, etc.). I still cannot get this VLOOKUP to work correctly. I have attached the file.
Column H on the Cost Report sheet holds the formula in question. It concatenates the values in Columns C,D,E,&F to create a composite number to look for in Column B of the Original Estimate sheet. It is supposed to pull the $ value from Column D of that range.
I have tried everything. I passed the composite number into TEXT, --(Double Unary), INT, tested for both #'s length with LEN and have converted the formatting between text and numbers.
I need to find the average of a list of text cells. My list is in column A, and in column B I've assigned each of the text cells with a numeric value. I'm then doing the average on Column B which will return a numeric value which will represent one of the text values in column A.
In another tab, I have a report where a row containd the project name, and I want to find the maximum value of the dates in the ither tab, where my project name matches the project name on the tab data I am given.
So, if I have "Project-C", I need to know the max of the dates in the row for Project-C; but I dont know what row that will be on in the other tab. For info such as 'data1' I have been simply using vlookup using the project name as a key.
I am trying to create an automated receipt for a list of artists. I have given the artist an individual reference so I am doing a VLOOKUP to return description/price value etc but I can only get it to return the initial value and I have approx 10-15 works under each reference. Maybe VLOOKUP is the wrong formula to use.. I have attached the file.
I think I am surrounded by trees and can't find the forest, I have a list of tariffs and need to get them to a generic name. The attached file may help, the gist of it is I need to output the generic name for each tariff instead of the supplier name for that tariff.
I have created a macro to open a workbook from another workbook and do a vlookup against the data in the source workbook. I then wanted to highlight the cells in the in the workbook that I'm doing the vlookup from, and to unhighlight any empty cells. I did this all without code using the macro recorder so that I could then study the code and learn something.
I would like to drop down the cells in B4 and D4 so that if throws up a result in D6 which looks at Sheet 2 and throws back that score? So it will look for Neil in Column A and October in Row 1 and throw back that figure.
I need "my sheet" to populate (columns A,B,&C) with some source data; however, I need the lookup to reference both retailer# and color (columns D&E) and return other information such as description, color description, etc...
Colouring calendar entries based on a date match... VBA to colour a cell on each line based on date match
The code works fine if you change the date in the cell and press enter however my date changes are triggered via a Vlookup which the code doesn't recognise has changed so doesn't trigger the macro.
Is there any way to amend the VBA code shown below so that it triggers the macro when dates are changed in column I via Vlookup?
Code: Private Sub Worksheet_Change(ByVal Target As Range) If Intersect(Target, Range("I:I")) Is Nothing Then Exit Sub Application.ScreenUpdating = False Target.EntireRow.Interior.ColorIndex = xlNone