Creating Formula That Will Lookup For Multiple Arrays?

May 28, 2014

I need creating a formula for the following situation.

I need to link multiple arrays from different sheets. But am having a hard time concocting a formula that will work.

I have 2 columns of data on sheet1. For example:

A-------------B
apples-----1245
oranges----456
nuts--------384

etc.

Now, I need a formula that will sum the entire column B, by looking up the array of column A on another sheet and only summing the numbers on sheet 1 that also have a value of "West" on sheet 2. Sheet 2 looks like this:

A-------------B
apples------West
oranges-----East
nuts---------West

This needs to be functional as a template to be used each month - the entire point of the formula is to save time and eliminate the current (and lengthy method that is in use). I can tweak the formulas as needed. But am trying to avoid having to concatenate anything or do any modifications to the format of the sheets.

View 1 Replies


ADVERTISEMENT

Lookup With Merged Cells And Multiple Arrays?

Aug 6, 2014

I'm looking to look up sheet name based on a date, then look the date up within that sheet which is a merged cell, then return the figure in the corresponding cell.

I have a sample worksheet to attach, just have to work out how to do it.!

In the sheet "Cashflow Summary" in cell E24, i want to lookup the sheet name based on the value in C22 (merged cell), then lookup the date in that sheet (6 August 2014), and return the value in cell y8.

The difficulty is with firstly the merged cells, but also performing the lookup over a number of different arrays, as the sheets for each month, have the months listed under each other in rows of 5 days at a time.

View 3 Replies View Related

Lookup Multiple Arrays Return Text Or Numeric?

Jan 23, 2012

Is there a formula to look in multiple arrays and return whatever it finds i.e. text or numeric values?

Sheet1  ABCDEFGH1Cat0 CatFive Donkey32   Mouse2 Wolf43 
4WolfFour CatFive Donkey35   Mouse2 WolfFourSpreadsheet FormulasCellFormulaB1=LOOKUP(9.99999999999999E+307,CHOOSE({1,2,3},0,VLOOKUP(A1,$D$1:$E$2,2,0),
VLOOKUP(A1,$G$1:$H$2,2,0)))B4=LOOKUP(REPT("z",255),CHOOSE({1,2,3},0,
VLOOKUP(A4,$D$4:$E$5,2,0),VLOOKUP(A4,$G$4:$H$5,2,0)))

View 9 Replies View Related

Creating List Without Arrays?

Apr 10, 2014

how to draw the top 5 numbers for each type of element into a list, excluding duplicates, without using array formulae?

Example.xlsx

View 1 Replies View Related

Creating Formula To Lookup Rate Using Ranges And Other Criteria?

Mar 26, 2013

I need to know if its possible, and if it is, what the formula would be to get the correct "Rate" to pull based on the criteria given:

User would input the following information:

Zip Code: 56559
Pallets: 3
Weight: 1200

The formula needs to use the following table to use the criteria listed above, to fine the correct "Rate". The "Zip Code" and "Weight" both need to fall between the correct ranges and then match the "Pallet" to find the correct "Rate".

From Zip Code
To Zip Code
Pallets
Weight From
Weight To

[Code]......

View 1 Replies View Related

Multiple Reference LOOKUP Formula?

May 6, 2014

I'm trying to cross-reference three sets of criteria to find my result; however, I can't get the VLOOKUP function to perform correctly for this need. Maybe I'm using the wrong function.

I attached a simple workbook to highlight my challenge. The over-simplified language that I included in the attachment, which highlights my problem, is as follows:

IF:
(B5=Sheet2!B4:B12) ---> This line finds the correct row to reference, on the Control sheet.
(year(C2)=Control!C3:E3) ---> This line chooses the correct annual column on the Control sheet, for the given month (e.g., use 2014 assumptions for a 2014 month).
(month(C2)=Control!E14) ---> This line counts the expense only in the month when the expense recurs (e.g., April 2014, April 2015).

THEN:
SUM(Control!C4:E12) ---> This line finds the specific number based on the criteria above.

View 4 Replies View Related

Formula With Multiple Lookup Parameters

May 8, 2009

In the attached file I have a sheet containing my data in A1 - D73. Column A contains a list of names, Column B contains a specific month, Column C contains a specific category and Column D contains the raw data.

Is it possible to create a formula similar to VLOOKUP to look not only at Column A, but to look at Column B as well in determining the value returned? I would like other users to first select a name and then select a month to view the data. I've attached a sample of what I've created so far. The original file contains 14 Names, 9 Months and 40 Categories.

View 3 Replies View Related

Slicing And Dicing CSV Files - Involves Arrays And Jagged Arrays

May 8, 2013

I am retrieving a CSV file from the net. In this file there are 'x' amount of row data and 7 columns. I only care about the values in the 7th column for each row. I also don't care about the entire first row. A graphical version would be represented something like this, with the values I want colored in orange:

|---,---,---,---,---,---,---|
|---,---,---,---,---,---,---|
|---,---,---,---,---,---,---|
|---,---,---,---,---,---,---|
|---,---,---,---,---,---,---|
|---,---,---,---,---,---,---|
|---,---,---,---,---,---,---|

.
. extending until the end of the data set
.

I've managed to dice this thing into a jagged array by first splitting it using vbLf as a delimiter, and therefore adding those to an array called Lines(). Then I split Lines() up using commas as the delimiter and threw those into a jagged array, let's call it Breadcrumbs()(). I want to throw all the values from Breadcrumbs(i)(6) into an array of its own. Here's my code so far:

Code:
Public Sub CSVparser(file As String)
Dim Lines As Variant
Dim j As Integer
Lines = Split(file, vbLf)
ReDim breadCrumbs(UBound(Lines)) As Variant
For i = 1 to UBound(Lines) - 1
breadCrumbs(i) = Split(Lines(i), ",")
Next i
End Sub

View 1 Replies View Related

Lookup Formula To Pull Multiple Answers To A Row

Jul 2, 2014

Instead of trying to explain my challenge, the attached workbook should be self explanatory. My answer is surrounded by the box. I need a formula that would automatically provide this output.

Lookup Scenario.xlsx‎

View 9 Replies View Related

Lookup Formula To Return Multiple Results?

Dec 8, 2013

I am trying to create a workbook where I can log what work I have done in one spreadsheet and allocate an invoice number to it. In a separate spreadsheet within the same workbook I have created an invoice template. When I enter in the invoice number into the invoice template it's not collecting the correct information.

For example, if I want the details for invoice 10 to show in the invoice template, details for invoice 19 appear.

I have used this formula:
=IFERROR(INDEX(ServiceRecord[[Invoice number]:[Date invoice issued]],
SMALL(IF(ServiceRecord[[Invoice number]:[Date invoice issued]]
='Invoice TEMPLATE'!$F$8,ROW(ServiceRecord[Invoice number])),ROW(1:1)),2),"")

I am wanting to add new information as time goes on and also to be able to put in any invoice number into the invoice template to recall information as needed.

View 3 Replies View Related

Lookup Formula That Will Give Multiple Items?

Jan 13, 2014

Is there a lookup formula that will give me multiple items? so in my example attachment i want to look up risk from section A to give me the item in section B, but for risk 7 for example it has multiple items (a,b,c), how would i get all them? even better would be if its possible to have in seperate cells

View 4 Replies View Related

Lookup Values From Multiple Formula Table

May 3, 2009

I have a sheet, called "output", in which I need to complete column C "calculated values". I need to complete the table based upon a formula table (which is in sheet "formulas").

For the first row of data, cell C2, I need to take the price per order ($0.25; cell A2) and number of orders (40; cell B2) and copy data to cell B4 and B6, respectively.

Once the data has been copied to to cells B4 and B6 on the fomulas sheet, I need to copy the calculated value in Row N to the output sheet. Note that the value being copied from N can be N11, N12, N13, N14, or N15 (the one that is <> to null).

View 2 Replies View Related

Lookup Function/Formula Across Multiple Worksheets

May 14, 2008

This formula works on 1 sheet but we are unable to make it work looking across multiple worksheets? Looking for a match to A3 in column G and wanting to pull the info from column E in the same row.

=IF('2'!G3:G271=A3, LOOKUP(A3,'2'!G3:G271,'2'!E3:E271),0)

View 8 Replies View Related

Formula Arrays That Will Omit Empty Cells In My Formula

Jan 31, 2008

I am looking to average a range of cells which won't always be the same size. How do I create a formula array that will omit empty cells in my formula.

View 9 Replies View Related

Create IF / LOOKUP Formula To Look At Multiple Sheets Within Workbook?

May 5, 2014

New to using Excel formula's and am trying to create an IF/LOOKUP formula to look at multiple sheets within a workbook and display the information within the 'compare' sheet.The yellow cells are where data will be entered.

What I am trying to achieve:

Type the store numbers on the compare sheet (B2 and D2). For the sheet attached I have put 190 (in B2) and 2012 (in D2)

B2 store shows the predicted and actual values of 190 in columns B & C

D2 store shows the predicted and actual values of 2012 in columns E & F
(No need to worry about variance and difference columns)

So, if I change the store numbers in B2 and D2 to any of the sheet numbers, I want it to display the correct info for that particular store within the compare sheet.

I have attempted a formula, which you can see... I have basically looked at some previous sheets that had IF and LOOKUP on it and tried to replicate that for my sheet, but with no luck.

View 3 Replies View Related

Formula / Function To Pull In Multiple Lookup Values

Aug 21, 2014

I am trying to replicate a payslip from a list of data on a worksheet.

The list of data contains the employee name, location they worked, and number of hours.

Each employee will work at multiple locations throughout the month, perhaps 10 or so.

The payslip must contain each location worked along with the relevant data, in a list so to speak.

What function can I use to pull this in? Of course if it were one location I would use vlookups to pull in data. As this only returns the top match I would then need a different formula to pull in the second location in the cell underneath?

View 6 Replies View Related

Vlookup And Multiple Arrays

Feb 6, 2007

I have two column on two seperate worksheets. One worksheet has both columns filled out. On the second worksheet, I want to be able to type in info in once column and have excel pull the other column from the other worksheet.

WKSHT 1 WKSHT 2

ID Name ID Name
1 Bill 3 ?VLookup?
2 Steve
3 Mike

Ive tried using Vlookup('worksheet1'!A2:A4,'worksheet1'!B2:B4,2) but can not get it to work.

View 6 Replies View Related

Formula To Lookup And Sum Cells Based On Multiple Criteria In Row And Columns?

Jun 17, 2014

I would like to create a formula in a summary sheet ("sheet 2 section" in attached)that looks up and sum cells based on multiple criteria in row and columns in "sheet 1 section". I thought I sumifs would work, but I kept getting #value errors. I'm not a power user in excel. I attached the spreadsheet - it is only an example of what I want to do as the real data is confidential and large. The result I should I get is in section 2. Lookup account 12.251 for tim in the month of February - result is 14.

Test2014.xlsx

View 3 Replies View Related

Get A Vertical Lookup Or SumIF Formula To Check Multiple Tabs?

Jul 17, 2006

How can I get a vertical lookup or sumIF formula to check multiple tabs for a given value?

Or - is there a way to specify the tab? For instance, put "Tab A" or "Tab B" in Cell A1, and have the lookup formula reference the value of Cell A1.

View 6 Replies View Related

Matching Or Index Multiple Arrays?

Mar 17, 2014

I have attached a sample from aspeadsheet I am working on. The option reply sheet has '1' entered if the student has opted to take this course. On the other subject sheets I would like the names who have opted for that subject to appear. Stuidents can opted for multiple subjects. I have tried Match and Index functions but it is difficult as students can opt for more than one.

View 1 Replies View Related

Multiple Text Import With Arrays

Oct 31, 2009

i want to do is import multiple text files,with fixed arrays (luckily it's standar )

I have the piece of code that i currently automatically importing these .txt files,although it's for one per turn.Here it is though,to see the arrays

View 6 Replies View Related

Counting Multiple Occurrences With Various Arrays

Jan 9, 2008

what I'm looking at doing is counting the number of reccuring unauthorised absences in a list. We have the persons name in column B, the absence type in column C and the date in column E. Basically I need to send out an AWOL notice when 5 days of unauthorised absence for the person in column B has occurred, so I need some sort of indication that this has happened in order for me to stick some conditional formatting in there to flag it.

View 9 Replies View Related

Match Multiple Criteria From Different Arrays

Apr 19, 2006

I'm trying to create a template that will be able to return a sales persons call target based on the category they sell and the current level they are. It works when I only ask it to look for one or the other, but I'm getting stuck trying to make it use both. I've attached a small sample. My original equation is as follows

=INDEX($C$2:$Q$51,MATCH($B2,$A$2:$A$51,0),MATCH(G$1,$C$1:$Q$1,0))

and this works perfectly fine. The problem I've now got is I need to add in a second criteria for setting the row_num. I've tried the following but I get a ref error. =INDEX($C$2:$Q$51,AND(MATCH($B3,$A$2:$A$51,0),MATCH(D3,$B$2:$B$51,0),MATCH(G$1,Telesales!$C$1:$Q$1,0)))

View 2 Replies View Related

Pass Multiple Arrays To Procedure

Sep 10, 2007

I have a procedure that I want to pass two arrays to. When I pass a single array it works fine but as soon as I try to pass two arrays I get a syntax error. Both arrays are declared exactly the same way and are used in the same way. Am I limited to passing only one array per procedure?

View 8 Replies View Related

Multilookup Based On Multiple Criterion Without Using Arrays

Mar 6, 2009

Multilookup based on Multiple criterion without using Arrays
Dear Forum,

I am well aware of the oft-mentioned Array Solution which gives us more than one record based on mulitple criterion using the INDEX function..

the formula layout being as mentioned below:

[ ={INDEX(A2:A100,SMALL(IF((B2:B100=<Condtn 1>)*(C2:C100=<Condtn 2>),ROW(D2:D100)-ROW($D$2)+1),ROW($D$2:$D2))} ]

I like this formula a lot and have used it more often, however it has made my file exceedingly slow..

Considering that it takes every small change in the file to compute around 5 mins or more than this the whole purpose seems to be defeated, I have read a lot of posts on Array Vs Non-Array of late by DonkeyOte.

View 14 Replies View Related

Multiple Arrays - Matching Data To Items

Jun 20, 2012

I have code that runs through multiple arrays trying to match data to items in the arrays and it takes a long time to run.

Code:
dim a as long
dim b as long
dim c as long
dim d as long
dim e as long

dim MyAarray as variant

[Code] ..........

That's basically what the code does. however, it takes an extremely long time to get through with everything as each array increases in size.

View 7 Replies View Related

Join Arrays In Formula

Jun 14, 2009

I have a long OR function that I'm working on. The logicals for this change the search value from 1 to 9. Here is one of the logicals:

sumproduct(--isnumber(search(1,???)))=0

I need the "???" to be the arrays. The most complex of these will be: A1:C1&a2&c2&a3:c3 or is it
A1:c1,a2,c2,a3:c3 or perhaps another join method like
concatinate(a1:a3,a2,c2,a3:c3)

How do you join arrays to get the right result?

View 9 Replies View Related

Summing The Multiplication Of One Array Times Multiple Arrays

Jul 24, 2008

I am trying to multiply one array of prices for multiple input products across
the volume that that product my go into multiple end products.

I know you can use SUMPRODUCT with two arrays that are equal BUT I want to Multiply the price matrix across 15 or 16 other matrices and sum all the products.
The price matrix and the other arrays are all 1 x "whatever".

View 9 Replies View Related

Rank Formula Using Arrays And Dynamic Named Ranges

Oct 13, 2011

I need to rank the top 3 names for each location based on gender (see sample data table below).

My spreadhseet has been setup using dynamic named ranges ("Size", "Name", "Gender", "Location" and "Score") using the formula "Size"=MATCH("zzzzz",'Sheet1'!$A:$A) and then "Name" =OFFSET('Sheet1'!$A$2,0,0,Size), and so on for "Gender", "Location" and "Score".

Is there a way to design an array rank formula using the dynamic named ranges to return the name associated with the highest score for "M"s in location "N"? I want to be able to edit the formula so I can chose which rank to display (e.g. 3rd, 7th, etc).

I've been playing with the following but can't get it to work

{=RANK(IF(ISNUMBER(MATCH(Gener,{"M"},0)),IF(Location{"N"},0),Score)}

NameGenderLocationScoreTimMN89
RebeccaFN45DanaFN85TerryMN15
RachelFN78BruceMN31BryanMS15
DonnaFS80JakeMS67MelissaFS66AdamMS48KateFS90

View 3 Replies View Related

Search Function - Choosing And Creating Lookup

Jun 13, 2014

I'm currently trying to put together a search function of sort onto an excel document to look for entries of "Y" based on the choices in a drop down list to populate a list of names that have a "Y" next to them. I've searched the net and read up on IF, VLOOKUP and HLOOKUP commands but I can't quite string something together. An example of what I am trying to achieve is below;

Raw Data:
type1type2type3type4room1room2room3room4
AndyYNNNnYNY
BillYYNYYYYY
ChrisnYNYYYYY
DaveYNNNYYYY
EddyYNNNYYYY
FrankYYNYYNNN
GilesYYNYnYNY
HarveynYNNYNYN
IannYNYYYYY
JohnYYNYYYYN
KyleYYNYYYYY

Search drop downs:
Typetype1
Roomroom1

End result (based on the example of Type1 and Room1):
Bill
Dave
Eddy
Frank
John
Kyle

View 7 Replies View Related







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