How To Use Cell Value As Sheetname In HLOOKUP Formula

Mar 28, 2012

Trying to do the following and getting an error:

BE18= UK_GBP

=HLOOKUP(Table4[[#This Row],[parent_product_line]],CONCATENATE(BE18,"!")$B$11:$DK$65,4,FALSE)

The CONCATENATE function casues the function to error and highlight the $B$11... array section

I have a table with each row representinginformation about a product a customer owns. I've added columns where I'm using the HLOOKUP function to go to another sheet in the workbook to find the products price. The issue is there are a dozen different pricebook worksheet's becasue of various parts of the work. I've added a column which displays the right pricebook sheet name now I'm just trying to get it that value into the HLOOKUP formula to be the shetname portion of the array value.

View 1 Replies


ADVERTISEMENT

Lookup With 'sheetname' In Formula

Oct 12, 2009

I am collecting a lot of prices from over 60 countries. Each country has a seperate sheet in a workbook, named "Country" Spec (eg Australia Spec, China Spec etc.).
These sheets are all setup exactly the same.

I have the following sheet wherin I want to show the data coming from all the different sheets:

| a | b
-----------------------------------
1 | Australia Spec | "Formula"
-----------------------------------
2 | Bangladesh Spec | "Formula"
-----------------------------------
3 | China Spec | "Formula"

In B1, 2 3 etc I want to do a lookup of a fixed cell on the correct country sheet. Therefore I want to include the sheetname in the formula. Thus I would like in B1 the content of cell q13 of sheet Australia spec. In B2 the content of cell q13 of sheet Bangladesh Spec.

My current formula is:
=INDIRECT(a1&"!$Q$13")

But it doesn't work

View 9 Replies View Related

Cell = Sheetname

Aug 19, 2008

I am guessing that this is fairly simple but i tried finding an answer on the internet and had no luck.... can i have a formula for a cell that returns the sheet name? or a macro?

View 9 Replies View Related

HLOOKUP; HLookup To Find An Adjusted Midterm Grade

Oct 30, 2007

i'm trying to use HLookup to find an adjusted midterm grade that's given. but i have some conditions:

If student missed exam and has a zero – keep zero.
If student has a grade of 1-119 points, increase their grade 40 points.
If student has a grade of 120-125 points, increase their grade 35 points.
If student has a grade of 126-131 points, increase their grade 31 points.
If student has a grade of 132-139 points, increase their grade 27 points.

with these conditions, if my midterms grade is 120, how would i calculate it using HLookup? i worked on it but i keep getting the #NA! error.
=H4+HLOOKUP(H4,B24:D25,2).

View 5 Replies View Related

HLOOKUP In HLOOKUP, Base Estimate Table In Excel

Jul 10, 2009

I am trying to import a BASE ESTIMATE table into EXCEL.

I have problems with most of the formulas, especially this one:

=VLOOKUP($E$2,$B$24:$P$604,HLOOKUP($E$3,$D$22:$L$604,1)+2)*HLOOKUP(HLOOKUP($E$3,$D$22:$L$604,1),$D$2 2:$L$23,2)

and this one

=ROUND((IF(AND(OR(E7>E5,E7>E6),E3<40000),E7,IF(AND(E6<E5,E3<40000),E6,E5)))*E8*1.055*1.06,2)+10

I am not sure if EXCEL allows a HLOOKUP within an HLOOKUP. If not, how can I get around this?

View 14 Replies View Related

Making HLookup Formula Dynamic?

Jun 20, 2014

I'm currently using an HLookup formula to create an output tab for a huge set of input data, but whenever I add new rows to the input tab, I have to adjust the formulas for each individual output cell.

For example, my output formula is currently "=HLOOKUP(B$4,'Inputs'!$B$2:$BJ$384,116,FALSE)," but if I add a new row to the input data, I have to adjust the table array and the row number for the formula. So, if I added a row before the 116th row, but wanted the output to be the same for this cell, I would have to update the formula to "=HLOOKUP(B$4,'Inputs'!$B$2:$BJ$385,117,FALSE).

Is there any way to adjust this formula so that it will automatically update to produce the same output without manually updating the formula each time I edit the number of input rows? Would an index/match formula work, and if so, what would it look like?

View 1 Replies View Related

HLookup Formula: Inserts A Row Within The Range

Oct 26, 2008

Following is an example of an HLOOKUP formula I'm using:

=HLOOKUP(A1,$B$2:$E$5,4,FALSE)

The problem I'm having is that if a user inserts a row within the range B2:E5, then it throws my lookup formula out, because the formula should now be looking at row 5 and not row 4. How do I get the number 4 in the formula to be a variable that always selects the last row of the specified (variable) range?

View 3 Replies View Related

HLookup Formula That Totals 15 For March

Feb 5, 2012

January 31, 1900March 2, 1900April 2, 1900259555357March 2, 1900

View 2 Replies View Related

Embedded Formula - Least HLookup And Average

Mar 12, 2014

This will take a mixture of at least HLOOKUP and Average

I have a table of 2 columns; 1 column is dates from Jan. 1st to Dec 31st; 2nd column is inches of rain on each day. Several are 0 inches but I am needing to take the the average of each month of only the days that have greater than 0 inches of rain.

Getting the average of each month is easy but canceling out the 0 inch days is throwing me off right now.

View 2 Replies View Related

Sheetname As A Variable

Feb 3, 2010

If I have this line in my macro triggered to run when I click in a specific cell :

View 9 Replies View Related

Hardcode The Sheetname

Sep 12, 2006

How do I hardcode a sheet name??? Where would I do that?

View 9 Replies View Related

Summing 3D Range According To Sheetname

Apr 28, 2012

I have a set of 50 large spreadsheets each with the same size and structure.

I have a summary sheet which contains cells that each contain a single-cell 3D range across all the sheets.

But I'd like to modify this summary sheet to find a way of summing a subset of the 50 sheets according to a given criteria.

I imagine this could be a single criteria added to one cell in each of the 50 sheets.

Or perhaps it could be a letter in each sheet's name. eg, if the letters used as criteria are say G, P and S, I would name the sheets something like G1, P2, G3, S4, P5, ....S49, G50.

Perhaps this could be achieved with the indirect function or will it be necessary to resort to VBA?

View 9 Replies View Related

Calculate Week Number From Sheetname

Oct 18, 2006

Daily i import sheets into excel and the sheet name is uniformed to the following

20061017_BNKREC - 20061018_BNKREC - 20061019_BNKREC ..........

just for clarity purposes

[2006] = year, [10] = month, [17] = previous day, [_BNKREC] = report type

I'll be creating a graph to which shows account balance by week, by account.
The data will be coming in daily. i know i will need to create either a dynamic range or copy my data into a new sheet. My head is spinning because i need excel to somehow (either in a formula or VB) determine what WorkingWeek the sheet is in. I dont want to have to keep adjusting formulae or ranges when import a new sheet..

bare with me here as its hard to explain ................

View 2 Replies View Related

HLookup On Alternate Cell?

Mar 5, 2012

Im wondering if their is a formula to return the results in a Hlookup but adjusted for the cell 1 cell to the right?

For instance if Row 1 Column one contains "Tom Jones" that the forumula knows to return the value in row 2 column 2 instead of row 2 column 1.

View 1 Replies View Related

Can't Get Cell Value To Be Sheet Name For Array Value In HLOOKUP

Mar 28, 2012

I have: =HLOOKUP(Table4[[#This Row],[parent_product_line]],UK_GBP!$B$11:$DK$65,4,FALSE)

What I want to do is have "UK_GBP!" be a valye which comes from another cell so I tried:

BE18 = UK_GBP

=HLOOKUP(Table4[[#This Row],[parent_product_line]],CONCATENATE(BE18,"!")$B$11:$DK$65,4,FALSE)

It errored out... how I can accomplish this?

View 3 Replies View Related

Adding Variable To Specific Sheetname In A Sumif Function

Feb 4, 2010

Hi, looking for help desperately in fine tuning a formula. I have a formula at the moment (which works) for searching through a list on a separate file and totalling up all values which relate to it, see below:

=sumif([filename.xls]1’!$B:$B,D10,’[filename.xls]1’!$H:$H)

The tab ‘1’ in the formula relates to the first of the month so this month there are 28 different tabs with similar information.

With C10 containing the date in this instance, does anybody know a way of making ‘1’ a variable so that entering ‘04/02/10’ would change it automatically into a 4? (Unfortunately for me changing the 1 to =c10 didn’t work).

View 14 Replies View Related

Adds Sheetname And Link To Sheet1, Alphabetizes Tabs *

May 17, 2007

Anyone know how to create a line or two to move all workbook sheets into alphabetical order from left to right?

View 5 Replies View Related

VLookup (or HLookup) Cell With Reference Rather Than Actual Number

Oct 13, 2011

I am doing a vlookup on a cell range where the value I'm trying to lookup (a date) exists, but it's not an actual number in the cell...it's a reference to another cell with that value (somewhere completely different).

So, I'm trying to vlookup(date(1/1/2011),A1:A12,2,false) to get the B column value.

A B
1/1/2011 #
2/1/2011 #
...
12/1/2011 #

However, the A column is not the actual date. It is a reference to another cell somewhere completely different that has the actual date 1/1/2011.

When I do a vlookup trying to find 1/1/2011, it can't see it there unless I overwrite the reference in A1 (for instance) with the actual date.

Can I do a vlookup and keep my cell references?

View 6 Replies View Related

Hlookup Only Returns First Value

Dec 27, 2013

I am facing a problem using Hlookup function. I am using Hlookup to do a control check of consolidation i am doing here, however it only returns the first found value instead of all correct values (or range).

I am attaching a file with an example. In the file formula is used in Supply(S) sheet on row 73.

Attached File : HlookupExample.xlsx‎

View 3 Replies View Related

HLookup V If Statements

Feb 7, 2014

I have various 6 x 6 blocks which contain just numbers, in another part of the spread sheet I have a 1 x 6 block of numbers. What I need to do is to check whether any of the numbers in the 1 x 6 block appear in any of the 6 x 6 blocks.If that does occur then I want to make a specific cell increase by the times that the match happens.using HLookup but just got errors and the If Statement, although did work, went on and on and on.

View 6 Replies View Related

Hlookup Not Incrementing..

Jan 10, 2010

Im using the following HLOOKUP formula : =HLOOKUP($B$14,$DA$15:$EH$380,2,FALSE) and I need to drag it down 365 times, but the row index num, ie ‘2’ does not increment with the drag. Is this correct – or is there a way of making the 2 increment?

View 3 Replies View Related

Vlookup/Hlookup

Oct 23, 2007

I have some experience with programming, so I understand the theory behing things like loops, arrays and functions etc...Only problem is, I need to make a program at work to ease workloads and I'm afraid I have no idea where to begin.

Basically, I need something similar to a lookup, but thanks to the limit of IF statements available in the formula bar, I can't write what I need.

The program I need to write wouldbe similar to an autofill function.
On Sheet1 of my spreadsheet, there are fields:
Name, Address 1, Address 2, Address 3, Postcode, Area, Rep....
(The last three are the most important)
On sheet two, Postcode, Area, Rep already have data entered in thier respective columns. (D3, E3, F3).

What I need done on Sheet1 is when the user enters the first two characters of a postcode, the 'program' will lookup the entire row respective to the postcode that is entered. when enter is pressed, the Postcode will copy itself from the other sheet as well as the Area number and the Rep into the empty fields in Sheet1. The other way to do this is look through a long list until the right postcode for an Area is found then assign the Rep the Contact details (Add. 1, Add. 2, Add. 3...).

View 11 Replies View Related

How To Use Offset With HLookup

Jan 30, 2014

I want to do an HLOOKUP but I need to skip row in the formular. See details below:

Sheet1:
.
A
B
C
D
E
F
G

[Code]...

(how do i change the font in red with formular) SUMMARY SHEET
.
A
B
C
D
E
F
G

[Code]...

View 3 Replies View Related

Sum Up HLookUp Values

Feb 27, 2014

I have a huge data and I need to find values through HLookup and than have to find the sum of that whole column.But when I tried to to so It is showing error as Formula broken.

sum(HLOOKUP((HLOOKUP(F7,B1:D5,2,TRUE)),B1:D5,3,1):HLOOKUP((HLOOKUP(F7,B1:D5,2,TRUE)),B1:D5,4,1))

Here f7 = the value which need to be find.

It is like

Abc
Cdb
1
2
3

and i want the sum of (1,2,3) and have given to search for Abc

View 1 Replies View Related

Hlookup In Different Workbooks

Jan 31, 2007

I used the following formula when the worksheet was in the same workbook.

=HLOOKUP($E$6,INDIRECT("'"&B14&"'!$A$1:$N$2"),2,)

The information in cell B14 is the same as the target sheet name.

I want to move the target sheet to another workbook.

How would i need to adjust the formula in order to return the same information from this new workbook?

View 3 Replies View Related

Hlookup + Vlookup Togethor

Jan 8, 2009

I have the following spreadsheet lets say.

I would like to match the name and the date and get the relavent figure from the "range" name

how can i do this?

View 2 Replies View Related

Hlookup (retrieve The Corresponding Data)

Sep 7, 2009

The formula I'm looking for should look for the name mentioned in B2 in range AC2:AF400 and retrieve the corresponding data below it starting from D11 to D41 and continue on F7 to F34 etc.

View 3 Replies View Related

Function Of HLOOKUP With Missing Value

Sep 21, 2009

I have a formula that looks like this:
=HLOOKUP('Output'!$B$3,'Input'!$B$1:$P$300,'Input'!$A3+1,FALSE)

It is working very fine, when the cell has a value, but when it doesn't - it will return 0. So my question is: is there any way to make it return certain value or word like "No value" instead of zero?

View 9 Replies View Related

Combine VLookup And HLookup

Jan 10, 2012

I have an Excel workbook containing a number of worksheets. My problem is that on one sheet(BlkPick) I have Rows containing headings(Location Names)and a column containing Product names. I wish to lookup the corresponding value contained at the matching intersection on another worksheet. I have searched this forum along with google and found that INDEX & MATCH are what I should be combining with Vlookup and these work when used on the same worksheet but when I test using say MATCH alone I get an error when attempting to MATCH my result from a different worksheet.

View 9 Replies View Related

Summing HLookup Values

Jul 20, 2006

I have a chart of numbers pertaining to progress of a project by month. The
end of month dates are in a row across the top, the progress % are in
corresponding rows and columns below:

31-mar-06 30-apr-06 31-may-06 30-jun-06
5.5 3.4 1.2 2.6

I'm trying to do a SUM of HLOOKUP values to get a total progress for a given
month. For example, I need to see the total progress for end of May from end
of March: SUM(HLOOKUP(5.5) to HLOOKUP(1.2))=5.5+3.4+1.2 in a cell at the
end of the row. How can I do this? Do I need to use another function?

View 14 Replies View Related







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