Vlookup Formula And Function To Combined With Another Formula?

Oct 22, 2013

i have two excel files which are data and master..both files will be use for salary calculating.. the vlookup formula will be use in master files for dragging the salary data from Data files..the formula as follow VLOOKUP(B4:B225,'D:Salary[Data.xls]AUG'!A$1:F$65536,6,FALSE))

the vlookup working fine to me.. but my problems is i want the data to be auto calculated when they have same value in two columns.. or if the name is similar/match in two columns (one for salary and another one for overtime), the salary should be auto calculated.

Data files will contain of these:
a:Employee ID
b:employee name
c:Employee salary/Overtime

Master files will contain of these:
a:Employee ID
b:Emplyee Name
c:Employee Nett Salary (that will be dragging from Data files)

is there any formula that i can used to combined with my vlookup formula?

View 4 Replies


VLookup Combined With Count / Sum Function

Jul 12, 2014

I am attempting to create a vlookup formula that will count or sum a series of data so that I can pull it over into a summary sheet on a report. The vlookup formula that I am using is

=IF(ISNA(VLOOKUP($A34,'Jan 14'!$N$2:$AF$36,12,FALSE)),0,VLOOKUP($A34,'Jan 14'!$N$2:$AF$36,12,FALSE))

It seems to be working I just cant figure out how to incorporate the count or sum function into it where I need it.

Test Sample File.xlsx

I have attached a sample of the file I am working with.

View 4 Replies View Related

Validation And Formula Combined?

Jan 13, 2010

I have a Yes/No list that I use in two cells for data validation:

Cell A1 has the Yes/No list for data validation.

Cell A10 has the Yes/No list for data validation.

I want A10 to become No if the user selects "No" in the A1 pull-down list.

View 3 Replies View Related

Write Formula Using IF / OR And AND Combined Together?

Sep 9, 2013

I am trying to write a formula using IF, OR & AND combined together, but I can't see to get my formula in the correct order. I have tried moving several sections around but I still keep getting an error.

IF(OR((A2="1A",A2="2A",A3="3A",AND(IF(OR(B2="Q4 2013",B2="Q1 2014"),"Y","N")

View 2 Replies View Related

Combined Countif Formula

Feb 27, 2008

The goal is to count up the number of rows in a database that have both properties:

1.) empty cell in Column B

2.) "XYZ" found somewhere in column D

View 9 Replies View Related

Using Formula With Cell Reference To Work In VLOOKUP Function

Jan 30, 2014

I have problem with a spreadsheet that I am trying to create.

I have a large sheet of data which is dumped in from another program. This contains our deliveries and orders etc.

Now for planning purposes, I would like to see how much of each item I have on order.

I can use VLOOKUP, but that will only give me the amount for the first order it encounters. But not the 3rd, 4th etc. I could use SUMIF but I need the dates as well. After doing some searching I think I have found a way of doing this: I can get the first easier enough:

=VLOOKUP(D$11,'purchase order'!$A$1:$K$6000,5,FALSE), this gives the first order than the another =VLOOKUP(D11,'purchase order'!$A$1:$K$6000,11,FALSE) for its date.

For the second column to check any other orders I thought I could find the cell referance for the first SEARCH: which is

A108: ="A"&MATCH(D11,'purchase order'!A:A,0).

Is there any way of using this Reference to start a new VLOOKUP. So the Lookup Range starts at this reference?? To make things harder it is on another sheet.

View 6 Replies View Related

Excel 2007 :: VLookup Formula With Indirect Function

Mar 19, 2013


I have formulas such as above in my Worksheet. So the above is in Cell H5

For the Range $C$45:$F$80, I am inserting rows (So moving down the data) and copying data from $C$5:$F$40 as values into the new space in $C$45:$F$80

I am doing the above using a macro, but when I run it I want this

to stay static, but instead I end up with


So my Table Array $C$45:$F$80 changes to $C$85:$F$120

How can I keep it as $C$45:$F$80

The other references in the formula seem to stay as I want them.

View 2 Replies View Related

Adding Formula To Table Array In VLookup Function?

Aug 29, 2013

I am looking to be able to alter my table_array section in VLOOKUP to adjust in date.

exampe: =vlookup(A4,'[Daily report - August 25.x;sx]Facilities'!A4:AY100,84,FALSE)

and I want to be able to change the August 25 -> August 26 repeating so that as I drop the next date in it will update to the correct tab.

I have the dates above so if I could somehow just the date to another cell instead that would work as well. I just do not know how.

Essentially I need to grab data from a separate workbook everyday and compile it to one master list.

View 3 Replies View Related

Calculating Time Difference Between Two Days Combined With IF Formula?

Jan 30, 2014

I am using the following formula in Column E to calculate the difference between an employees start time, and their previous shift end time in order to work out how many hours rest they have had:


My Current Formula works fine for same day calculations, but if an employee finishes work at 18:00 on Friday and starts work at 22:00 Saturday night, Excel calculates the Total Rest hours as 04:00, when in fact they have had 28:00 hours rest...

Is there a way of calculating the hours difference between two dates?

I have attached a sample of my spreadsheet to illustrate

View 5 Replies View Related

Vlookup & Max Combined

Jun 28, 2006

I have a formula that uses the max function/formula (I am not sure of the terminology) to summarise the maximum value contained within a cumulative list of monthly expenditure in cells F12 to F60 (i.e MAX(Cashflow!F12:F60)) of a very old sheet I am working on, I was wondering if it was possible to have a cell that displays the profiled expenditure which is displayed in column E adjacent to the cell containing the maximum expenditure.

I have tried using the vlookup formula however combing formulas!

View 4 Replies View Related

Vlookup Formula In VBA - Object Error (input A Formula Into A Cell)

Apr 23, 2009

I'm having some trouble trying to get excel to input a formula into a cell. I'm still a novice at VBA right now, so I don't think my problem will be too much of a brain buster.

I want a formula in Cell A6 (and I already know it correctly works) in this format: =E6&VLOOKUP(I6,'FA-Fund Data'!B$1:C$2000,2,FALSE)&J6

View 3 Replies View Related

VLookup For Combined Text And Number Value On Linked Worksheet

Dec 8, 2013

I am trying to return the value (date) of a construction schedule by searching for a specific construction activity ID number. Is there a method I can use which incorporates a text search so that as the schedule grows (cell locations shift down) the lookup function still follows the unique activity ID?

Below is a sample of row of the ID I must search for, and the date I must return (on a separate excel file):


Activity ID
Start Date
End Date

Supporting Walls to UPTS Slab 3

View 1 Replies View Related

Large Function Combined With Sumif

May 23, 2012

I know how to use the large function when looking for a specific criteria as the example below illustrates:


What I'm trying to do is take this one step further and not only find the nth largest numbers in a set of data based on a particular criteria, but also sum those numbers because they repeat in a table: for example a sample table is below:

Account Accout # Store # channel $ sales
A 1000 10001 green $100
B 1001 10011 green $230
A 1000 10002 green $120
C 1002 10021 brown $145
A 1000 10003 green $100
D 1003 10031 red $20
B 1001 10012 green $50

So what I'm basically attempting to do is bring in the nth largest accounts within the "green" channel. Now if these were the top 5 stores I was looking for, the formula from above would suffice. However since this deals with accounts and the account # repeat I need to bring in the total sum of those repeating accounts instead of just one of the unique stores. So if I was seeking the largest account (NOT store) within the "green" channel the correct values this formula would be:

Account A $320

I would imagine we would need to combine a sumif with a large function or maybe involve sumproduct somehow.

View 6 Replies View Related

Run Match Function Combined With If And Iserror

Mar 4, 2014

I'm trying to run a match function combined with If and Iserror. I need this because I want to see if a given item number in one cell in one sheet in excel is ALSO located in a given range in another excel sheet. If that number is found, I want the result to say "yes". If the item number is NOT also found in the given range in the other workbook, I want it to say "no". This is what I have so far:

=IF(ISERROR(MATCH($C9,'Case Usage Summary'!$A$2:$A$45138,0))=FALSE,"Yes","No")

The problem so far is that this is actually giving me the wrong results. For instance, the above function attempts to located cell C9, denoted as item number 964, in another sheet called Case Usage Summary in the range between A2 and A45138. If it could find 964 in that range in the Case Usage Summary sheet, it should give an answer of "yes", if it couldn't then it should give an answer of "no". The problem is that it gave me an answer of "no", but I just looked through the list of item numbers in the case usage summary sheet and there IS in fact a item number 964 entered in the range. What is going on here? I tried this for some of the other cells, and it is just giving me "no" for all of them. What is going on?

View 9 Replies View Related

Combined VLOOKUP With A Date Range SUMIF From Pivot Table Data?

Feb 13, 2014

I have a report I am attempting to populate with data from a pivot table in another worksheet. Column A holds all the reference numbers (primary key), column B contains various start dates, and I want column C to contain all the payments made since the start date for each reference number.

The source data is a pivot table with Row = Reference number, column = transaction date, values = transaction amounts. This is an extremely large table, as I'm processing data from almost 1,200 cases, which each have around 20 payments spread over the last year, on completely random days. What I would like to do is build a formula in my report which looks up the records for the reference number from column A, and then adds up all the payments which have been made after the date in column B (and ignore any payments in the table which are before that date).

And to make things more complicated:

if an error is generated, it needs to return as 0, not #N/AThe report has the dates in UK format dd/mm/yyyy, but the pivot table has the dates in SQL format: yyyy-mm-ddThe pivot table is connected to a SQL database via ODBC and has to refresh every time it is opened.


View 5 Replies View Related

Using Name In VLOOKUP Formula?

May 16, 2014

I have a formula in a cell which is a lookup on another worksheet:


The worksheet name is Staging, and I want to replace the actual name of the worksheet with the value from a variable. I have created a one cell Name called "WS" and in that cell is where I place the name of the worksheet (comes from some VBA code).

how to replace 'Staging' with the variable WS into the VLOOKUP formula.

For informational purposes, the value of the variable changes based on some VBA code, and can contain one of three different worksheet names.

View 9 Replies View Related


Sep 3, 2009

Working on a college football spreadsheet where 14 people wager $100 per week (just for fun, not real dough) on games using the vegas spreads. The basic function of this spreadsheet was to display the name of the person with the highest monetary winnings. For this, I used IF forumlas since there were only 6 players. Now we have 14 and I've discovered the rule of 7 with the IF formula making my spreadsheet non-functional. I read some on VLOOKUP and even watched a copy trainings on YouTube but I'm not sure that's best for this particular spreadsheet.

Here is a copy/paste of my previous forumla: =IF(A2=Sheet1!C22,Sheet1!C2,IF(A2=Sheet1!D22,Sheet1!D2,IF(A2=Sheet1!E22,E22,IF(A2=Sheet1!F22,Sheet1! F2,IF(A2=Sheet1!G22,Sheet1!G2,IF(A2=Sheet1!H22,Sheet1!H2,IF(A2=Sheet1!I22,Sheet1!I2,IF(A2=Sheet1!J22 ,Sheet1!J2,))))))))

The formula refers to Sheet1 which contains =LARGE(Sheet1!C22:P22,1). This forumla displays the highest value for the current monetary winnings. Anyways, I hope I did a sufficient job explaining the current workings of my spreadsheet and my current problems.

View 5 Replies View Related

VLookup Formula.....

Jan 20, 2010

I have the following V Lookup Formulae:

View 2 Replies View Related

How To Set Vlookup Formula

Jan 14, 2009

On sheet 1 I have a combo box with drop down. I choose a serial number 123456. The linked cell is C3. The combobox ListFillRange is Serials!A1:A10

On sheet2 in column A I placed the serial numbers in A1:A10. I placed the corresponding parts in B1:B10.

Here is what I am looking for. I choose the serial number in the combo box, and it looks at the serial, and in cell H3 it outputs the corresponding part.

View 10 Replies View Related

VLookup - Formula To Get ID

Jul 9, 2014

I need a formula that I can use to get the ID.

But the VLOOKUP formula doesnt search for lookup value that contains more than 1.




[Code] .....

This the VLOOKUP Formula I used =VLOOKUP(D4,A:B,2,FALSE)

View 5 Replies View Related

Trying To Use =MAX Within A VLOOKUP Formula

Jan 12, 2007

I have a grid of cells in range B4:F18.

Range B4:B18 contain names and the columns C-F contain dollar amounts.

In row 20 I want to show the name from column B who has the highest dollar amount in the column.

In C20 I entered =VLOOKUP(MAX(C4:C18),$B$4:$F$18,1,FALSE) but rather than returning the name of the person with the highest dollar amount in that column, it returns #N/A. The cells showing the dollar amounts pull the data from another worksheet with an equals formula - can this be the reason?

View 9 Replies View Related

Vlookup Formula

Oct 12, 2006

I can't seem to get the format of the Vlookup formula right for what I am using it for.

I attached a copy of the spreadsheet. What I am trying to do is input a value in cell E7. Then have Vlookup search column L6 to L75 for a match and return the value in column Q next to that match, and put that "score" in cell E9.

View 8 Replies View Related

VLookup And If Command In Same Formula

Feb 26, 2014

I need to know if I can use vlookup and the if command in the same formula.

I am trying to attach a workbook but it keeps taking me to log in but I am already logged in so why cant I attach it?

View 1 Replies View Related

Advanced Vlookup Formula

Oct 14, 2008

I have a spreadsheet that currently includes the following formula:


Col A is numeric output
Col B is staff names
Col C specifies top ten output numbers from Col A

The above formula goes in column D and It returns the staff names with the top ten output. My problem is that if two members of staff have the same output it formula will repeat the name only one staff member in both rows. Is there any way of altering the above formula so that it will show both staff names in each row?

View 3 Replies View Related

Vlookup Formula Only Returns Ref# Or N/A

Oct 21, 2008

How to make vlookup work right? I have tried it once and it worked but I can't get it ot work again.

I changed the format to text for the data I using and the data I looking in to see if that would fix the ref# or N/a error.

Is the formatting one possible issue?

I am slow to vlookup but I used the formula as

1. the lookup value is the serial #

2. the table_array is the entire worksheet that I am searching in - or should I just use the column that hold the values I am looking for?

3. the column_index_num is ??

4. [range_lookup] is FALSE.

View 11 Replies View Related

Need A Nested IF Formula Or Vlookup

Feb 20, 2009

Objective: To find out which customers order certain items and which customers dont order certain items. Many customers may order the same item eg customer A, B, C, D all order item "4567"

I have 2 worksheets.

Worksheet 1: Showing 30 item codes, item description and customers. Items in col A (A2:A31), description in col B (B2:B31) runnning down vertically. Customer name in cell 1 of all other columns running across horizontally, eg C1, D1, E1.... (C1:GF1). There are 186 customers. (A formula needs to start at C3 and dragged to GF3)

Worksheet 2: Raw data showing customers in column A and items in column B, There are 3,753 rows. Customer in column A are duplicated as the same customer may order a number of items so for eg


Tried the below formula

View 8 Replies View Related

VLOOKUP/formula Produces #N/A

Mar 26, 2009

I am using this formula:


and it produces #N/A in the cell that contains this formula. If cell A6 has an item selected in it I made from data validation-list then the output is $0.00.

How can eliminate anything from showing if the list is blank in cell A6?

View 7 Replies View Related

Formula Similar To Vlookup

Apr 10, 2009

I have created a sheet that contains a new diet program, calculated down to the precise calorie required for my training routine. Please see below for an example of one of my daily meals:


I need a formula that will help me to create a weekly shopping list (as the values in the example above will change on a regular basis). So I need to take all values from the from columns A & B, multiply them by 5 and then show me the totals in another sheet.

Similarly, I need to do the same with columns E & F, only they need to be multiplied by 2. The totals then need to be added to give me the required amount (in grams) for the week.

View 11 Replies View Related

If And Vlookup Formula; Too Many Arguments

Nov 25, 2009

Im trying to build a little database and the closest thing i have come to manage what i want to do is with IF and Vlookup function.

I have 1 "main page" lets call it "sheet1"
Then i have nomerous of "secondary pages" we call them "sheet2", "sheet3" etc.

The idea is that on my "main page" im using 3 colums "A","B" and "C". "A" and "B" helps deciding where my VLOOKUP function should find the correct value.

The "A" column is planned to decide in what sheet to look for seach word(which is written in "C" column)

Basicly if "A1" is saying "2" its gonna do my VLOOKUP in "sheet2" , and if "A1" sais "3" its gonna look for my "search word" in "sheet3" etc.

My formula at this point (witch is working for 2 pages)

This is working perfectly.
If i write "2" in "A1" and "car" in "B1" VLOOKUP jumps to "sheet1" lookup "car" and return the value in the second column (in this case 2"
and if i write "3" in "A1" and keep "car" in "B1" VLOOKUP jumps to "sheet2" and return the carvalue for this sheet (in this case 22).

Then the problem
The problem is ofcourse that if i wanna continue with this formula in the same box, i wanna make it keep looking in more sheets depending on what number i have in "A1"
If i put number 5 in it goes to "sheet5" and look for "car" and return valuve.

But at this point the formula is too big for excel.

So i guess my question is. Is there any workaround for this? Can anyone come up how to approach this in another way? (im out of ideas)
Or am i doomed and have to learn programming to get my idea to work?

View 7 Replies View Related

Condense SUM Of VLOOKUP Formula

Dec 22, 2009

Is there a way to make this a bit shorter without altering the result.

IF(OR(AI10="",ISERR(VLOOKUP(AI10,'Q:5yr Branch reviewBalance Sheet[SC2 Apr09 - Mar 10 Actuals.XLS]bze'!$A$8:$CE$79,F8,FALSE))),0,VLOOKUP(AI10,'Q:5yr Branch reviewBalance Sheet[SC2 Apr09 - Mar 10 Actuals.XLS]bze'!$A$8:$CE$79,F8,FALSE))
+IF(OR(AK10="",ISERR(VLOOKUP(AK10,'Q:5yr Branch reviewBalance Sheet[SC2 Apr09 - Mar 10 Actuals.XLS]bze'!$A$8:$CE$79,F8,FALSE))),0,VLOOKUP(AK10,'Q:5yr Branch reviewBalance Sheet[SC2 Apr09 - Mar 10 Actuals.XLS]bze'!$A$8:$CE$79,F8,FALSE))
+IF(OR(AM10="",ISERR(VLOOKUP(AM10,'Q:5yr Branch reviewBalance Sheet[SC2 Apr09 - Mar 10 Actuals.XLS]bze'!$A$8:$CE$79,F8,FALSE))),0,VLOOKUP(AM10,'Q:5yr Branch reviewBalance Sheet[SC2 Apr09 - Mar 10 Actuals.XLS]bze'!$A$8:$CE$79,F8,FALSE))

I initially had a SUMPRODUCT formula that looked like this:
=SUMPRODUCT(--(ISNUMBER(MATCH('Q:5yr Branch reviewBalance Sheet[SC2 Apr09 - Mar 10 Actuals.XLS]bze'!$A$8:$A$79,F1:F5,0))),'Q:5yr Branch reviewBalance Sheet[SC2 Apr09 - Mar 10 Actuals.XLS]bze'!$Z$8:$Z$79)

However, I turned the page into a dynamic page where the month can be selected from a drop down menu and changes the column index number in Cell F8. And because VLOOKUP can give me an error result if there is a mismatch, I used that combination of Blank cells or ISERR. In the range AI10:AM10 there should be three lookup values (sometimes only one or two), and empty columns between the three values columns. I also will use this formula like a 1,000 times so, arrays is not advisable.

View 3 Replies View Related

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