# 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!

## 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.

## 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):

A
B
C
D

-
Activity ID
Description
Start Date
End Date

1
L3S4C10020
Supporting Walls to UPTS Slab 3
19-Jan-14
25-Jan-14

## 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.

=IF(ISERROR(VLOOKUP(A2,'Transactions'!\$A\$2:\$B\$1194,2,FALSE)),0,VLOOKUP(A2,'Transactions'!\$A\$2:\$B\$1194,2,FALSE))

## 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?

## Sheets To Be Combined

Nov 15, 2007

I have a workbook with 17 sheets, is there a easy way to get all 17 sheets combined into one sheet?

## Frequency Combined With IF Statement?

Mar 26, 2014

Sample Excel with Frequency.xls.Attached a sample sheet with some data. What I'm trying to do is combine the frequency function and add another variable. Not sure how to do this. I'm using Excel 2003, so I don't think I can use "countifs".

## SUMIF With Combined Rows

Jun 19, 2014

I am having a list consisting of two columns. Column A describes a "product" and the currency directly below. In column B i have the quantity of the product and below the value. Now i have products in USD and EUR and would like to only sum up the quantity of all products which are in USD. A simple example is attached and i calculated the target valua manually. The values i would like to sum are market in red.

## Sumif & Sumproduct (combined Together)

Oct 29, 2008

i would to combined these together

can this be done

## Combined Hundreds Numbers

Jan 24, 2009

I have hundreds of numbers in column A and I want to combined these numbers in call B1 with “ , ”

e.g.

column "A"

451
45
61
48
194

Call "B1"

451,45,61,48,194

I am using attached sheet for this thing but I can’t use any other new sheet, is there any another way to do this. I need formula. So I can use any sheets.

## 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.

## Combined Dates Formatting

Feb 3, 2010

I am trying to combine 2 dates into the 1 cell separated by the word "TO:" So I have: =B2&" TO: "&C2
Which results in: 40211 TO: 40240
What I need is: 02/02/10 TO: 03/03/10

## Nested Ifs Combined In 1 Cell

Oct 24, 2007

I have about 5 nested if statements in 5 different cells. The problem is I need to combine all 5 nested if statements into 1 cell. Can someone show me how this is done. I don't want to try vlookup since the ifs are already written. I named all of the formulas as one, two, three, four, five to help me keep track of them. Need to figure out what I have to do to combine all of the if statements into 1 cell.

## SUMPRODUCT Combined With Other Functions

Nov 13, 2008

i'm trying to perform an operation that gets the standard deviation of all open status. See my formula.

=SUMPRODUCT((\$D\$4:\$D\$1591="open")*1,(\$H\$4:\$H\$1591)*1,(STDEVA(\$H\$4:\$H\$1591)))

## 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")

## 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

## Fuction Combined With Sumproduct

Apr 2, 2009

I have a sumproduct function picking up data from a different worksheet. Because i have to much data it takes too much memory and it doesnt run that smoothly. Therefore i have hardcoded the function and tried to evaluate it using the EVAL() function from the morefunc add-in. However i don't get it to work. It continuously returns #VALUE.

This is the code i am trying to evaluate

SUMPRODUCT(--('Retrieve Depletions'!\$A\$4:\$A\$5000=\$D4),--('Retrieve Depletions'!\$B\$4:\$B\$5000=\$E4),--('Retrieve Depletions'!\$C\$4:\$C\$5000=\$F4),--('Retrieve Depletions'!\$D\$4:\$D\$5000=\$G4),--('Retrieve Depletions'!\$E\$4:\$E\$5000=\$I4),--('Retrieve Depletions'!\$F\$4:\$F\$5000=\$J4),'Retrieve Depletions'!H\$4:H\$5000)

## LEFT And SUMPRODUCT Functions Combined?

Feb 26, 2014

I have two columns of data that I need to use SUMPRODUCT on. However, in one of the columns, there might be text after the number. The text can be several different characters. I only want to use the numbers, never the text. Also, there are usually blank cells within Column B and at the bottoms of both columns because this formula is going into a template for future worksheets that all have differing numbers of rows.

Example:

14T
16

40

20
150

97L
67

13
12

For the above example, I want the result to be 9879 (14*16 + 40*0 + 20*150 + 97*67 + 13*12 + 0*0 + 0*0 = 9879).

I've tried using the LEFT function to only get the numbers before any text, but I can't make it work with the blank cells at the bottoms of the columns.

## Make Combined List From Several Tables

Nov 28, 2013

I need to make a Combined Name List from several tables by formula or Macro code.

Attached file defined detail and what is exact wanted.

Unit&ValuesList.xlsâ€Ž

## Sorting Combined Number And Data

Apr 20, 2012

How to correctly sort data when it contains both text and numbers.

This is what is currently happening
LA100LA102LA109LA11LA117LA118LA12LA120LA121LA199LA21LA216LA220LA221/SLA227LA229LA23LA230LAK102LAK107LAK11LAK117LAK120

BUT I NEED IT BE IN ORDER LIKE THIS -
LA11LA12LA21LA23LA100LA102LA109LA117LA118LA120LA121LA199LA216LA220LA221/SLA227LA229LA230LAK11LAK102LAK107LAK117LAK120

## 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:

Code:
=IFERROR(LARGE(IF('2012'!\$D\$1:\$D\$7="Green",'2012'!\$C\$1:\$C\$7),1),"-")

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.

## Combined Numbers And Texts Without Delimiter

Aug 23, 2012

My excel sheet contains inventory of products and quantities, each is in a form of combined number followed by text without a delimeter. For example 2AWS means Two (2) of AWS.

Each cell in my excel database may contain pair of products, each is defined in the above form but the pair of products are separated with a comma.

I need to calculate the total number of each product and split in two different cells.

For example:

Cell A1: 3GFG, 2AWS
Cell A2: 2NG, 1AWS
Cell A3: 1NG, 4GFG

Desired Output
==============

GFG7 (i.e. Cell A5: GFG , Cell B5:7 etc.)
AWS3
NG3

## Pounds To Kg Separation In Combined Data

Aug 19, 2013

I receive a monthly spreadsheet from our trucking company which tracks the package and weight of that package. However I need to pull the weight out and run a report on total weight. However it is a mix of pounds and kilograms. Please see my example. What I want is a final column of all weight converted to kilograms. Note as well the spacing in the data as sometimes the "lbs" is right next to the number and other times there is a space between them.

Raw Data

package 1
10.2kgs

package 2
5 kgs

[Code] ........

## 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?

## Count Cells Combined With If Formulas

May 21, 2014

My spreadsheet looks something like this:

ID
Responsibility
Criteria One
Criteria Two
Criteria Three
Numbers
Functional Column

ID1
Marc
lorem
lorem
lorem
1
x

[Code] .......

I want to build a little report on another worksheet that goes over the table and counts cells (i.e. data records) based on the entries in the last column (i.e., if the corresponding data-record has an "x" in that column, then it should be counted).

As every data record also carries a numeric value in the "Numbers" column, I wanted to do this with COUNT formula combined with an IF-formula.

The formula to count the corresponding data records that match the criteria then looks something like this:

=COUNT(IF(\$F\$1:\$F\$6="x";\$E\$1:\$E\$6))

However, this always counts all cells in the "Numbers" column. I want the formula only to return the range of "Numbers" cells, that belong to the matched data records.

Is there an easier or cleaner way to do this?

## VB Name Lookup Combined With Find & Replace

Apr 22, 2009

I have a Workbook(wb1) that pulls information based off of IF(and( and vlookups from multiple other workbooks(wb2 thru wb12). Is there a way the member typing in wb2 - wb12 able to change the Tab name one each sheet? Since the formulas i use use the tab name on the sheets for referencing. I'm hoping to do the example with out any user input.

Example ....

## Combined If & Offset & Copy Data

Apr 11, 2007

I need to create a macro wheather it be for each row or perhaps a dynamic macro that based on the active cell it can then offset based on my Expense type(Column B) into the respective row.

i had placed a sample of what i need to come up with highlighted in red. I need to copy the data in C7, C8, C9, etc... into D7:N7, D8:N8, etc... I have over 950 rows this code will need to be copied to. Columns do not move.

So if choose "fixed then i need for the macro to copy and paste data in each of those cells for Febuary to December. Should i choose "variable" then it places a "0" for Febuary to December and should I choose "NA" then nothing happens and i dont need code for that. It needs to be running constantly that way i dont need to run the macro so it needs to be in a module i beleive.

My problem is that i have three years of data and i have over 950 rows for expenses. THis is just a morsol. I cant place code in the cells as the expenses go there and it will just over write the code and is useless to me. That is why i need a macro that based on what i choose it then copies January's expense appropriately and for now it doesnt need to be dynamic but i prefer that it be based on the active cell if this is possible as i used over 950 option buttons and it worked but as the file gets bigger it crashes my computer.. 'Not enough Resources" .. gigs of ram and a 3.6 processor..

## Combined Bar And Line Graph/Chart

Jul 1, 2008

creating a graph / chart using Ms Excel? I've been trying to do it myself but to no luck as I'm just a novice Ms Excel user. I'm trying to create a bar graph and combine with line graph based on these data. kindly refers to my attachment image for an example of desire graph. For line graph, it should display individually based on the given data. These are my daily data and I want to have an analysis graph so that I could monitor my computer's usage and its efficiency.

Computers Data Usage
--------------------------
Computer01 10 50.00%
Computer02 691 68.89%
Computer03 107 81.03%
Computer04 190 81.25%
Computer05 2099 82.89%
Computer06 1247 50.88%
Computer07 2786 10.00%
Computer08 69 22.00%
Computer09 300 18.00%
Computer10 1829 87.07%
Computer11 746 27.43%
Computer12 437 91.33%
Computer13 301 62.50%
Computer14 24 40.00%
Computer15 93 83.33%
Computer16 192 92.45%

## Turn Repeating Row Values Into Combined Columns?

May 22, 2014

I have 1 column of pasted values that basically look like this
c
1:a
2:b
3:c
1:d
2:e
3:f etc...

And they need to look like this:
c1 c2 c3
a b c
d e f

I know how to separate the first column into two columns by separating the values by the colon. But how do I rearrange the values as above and combine all "1"s in c1 so it becomes the headers and the column is populated only with the values? The table is too big to do manually (thousands of rows).

## Revenue Allocation Using Combined/Nested IF Statements

Jul 24, 2008

I have been asked to go through some information which has over 200 000 lines, what I need to do is as follows:

where order number is unique, revenue source = "Unique"
where order number appears more than once, check division to see if it appears in more than one division, if it does revenue source = "Cross Selling", if it does not then revenue source = "Divisional Package"

I need all of the above in formula line which will be inserted in the revenue source column

I have attached the file with a sample of the information I am using.