Combining HLOOKUP AND VLOOKUP To Find Solutions In A Matrix Using 2 Variables

Oct 28, 2009

This was a snap in Lotus. Unfortunately, the VLOOKUP and HLOOKUP formulas don't translate to Excel on conversion. I need to estimate the weight of reinforcing steel in concrete based on 7 different sizes of rebar and spacing of the bar between 1" and 24".

I have created a matrix(lookup table) with the bar spacing listed in decimal equivilents in feet on the top row.Inthe row below, I have numbered the columns from 1 to 24. the next row is blank. Along the left side of the matrix, I have listed the bar sizes 3 thru 10. Within the table I have listed all the bar weights/SF of concrete. IE if the slab has 1 mat of #5 rebar spaced 6" oc. If you look in row 7, under column 6, the weight of weight of the bar in that sf of concrete is found. In the part of the worksheet where the caculations are performed set up as follows:.....

View 4 Replies


ADVERTISEMENT

Retrieving Multiple Solutions With Vlookup

Feb 11, 2010

I am attaching a file that I have just really been struggling with. I have been through multiple forums and ideas but just can not seem to find one that will completely resolve my issues. There are two tabs in the spreadsheet. I want to bring information from the detailed one over to a summary. Please take into consideration that this has been extremely simplified from my original information just so that I could post it. I am not going to use pivot tables, as this is going to be distributed to others at some point so most information will be hidden except the summary. The product and type are normally coming from a drop down list also. The summary format is by request of management so not much choice in changing it.

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

Combining Index And Hlookup?

Apr 20, 2009

I have created and named a table with salaries based on years of experience and education.

I am having trouble writing a function to search for a specific amount and result in the the cell below that specific amount.

So people are moving up by one year on the schedule I would like to use their current salary to lookup and display their salary for next year.

I am confused on how to incorporate the different functions I am assuming an index and a hlookup...

View 11 Replies View Related

Combining HLOOKUP With SUMPRODUCT

Sep 3, 2013

I am currently using this formula to total the items in Column AH of my worksheet, which usually begins on row 19 (Occasionally on row 20, which corrupts my formula). Since the numbers are always below the header, entitled "Exception Amount" I am wanting to know if I can combine these to formulas into one that will correct the occasional anomaly.

=SUMPRODUCT(($AH$20:$AH$300>0)*$AH$20:$AH$300)

View 2 Replies View Related

Running A Macro For A Matrix Of Variables

Oct 6, 2006

I have a matrix that has variables in the rows and in the columns. Then I have a regular table. For each row in the table, I need to run a macro using the combinations in the matrix. I just don't know how to combine these two to make my macro run appropriately with the right combos for the right amount of time.

View 2 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

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

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

Hlookup Embeded Within Vlookup

Oct 21, 2009

I have a Broad table of data that I would like to be able to pull data from. Within my spreadsheet I have two cells that can be used to identify the column and row within the table.

the formula that I've been trying to use is:
=IF(C29="Non-Perforated",1,VLOOKUP(G34,P35:AG125,HLOOKUP($G$35,$P$32:$AG$34,3,FALSE),FALSE))

The trouble I"m having is that sometimes my formula seems to work just fine, and other times the formula gives me a #N/A value, and I'm not sure why. When I run the "evaluate formula" It appears that the correct value is obtained from the Hlookup function, but the Vlookup produces #N/A.

View 9 Replies View Related

Combine HLOOKUP And VLOOKUP To Return One Value

Jan 2, 2014

I need a formula that will combine hlookup and vlookup to return one value.

View 14 Replies View Related

VLOOKUP Or HLOOKUP With Multiple Criteria

Jul 17, 2012

I am looking to pull out an outcome based on the user inputting two criteria, below is an example:

A
B
C
D
E
F
G
H
I
J

[code].....

So if the user inputted P1 into cell H2 and inputted 9 in I2, J2 would show Pass, but if they inputted P5 into cell H2 and inputted 9 in I2, J2 would show Fail.

View 5 Replies View Related

HLOOKUP VLOOKUP INDEX & MATCH Etc

Feb 14, 2010

I don't want VB code but a worksheet formula.

I have a table full of names and cars sold. The table tracks the person's progress. It is like a diary. It's a simplied version of the DB I am currently working with.

Is it possible to do the following things? I have basically 2 types of questions.

1)When was the last red car sold?

2)When was a car sold irrespective of color?

The answer to each question will be put in separate columns.
I have only included January but I will do this for the entire year of 2010 and also I will do this for all of the names in my database. I think there are about 300.

When was the last time ANDY sold a RED car?
The answer should be 1/12/2010
The answer will be put in ROW A COLUMN I

When was the last time ANDY sold a car irrespective of color?
The answer should be 1/12/2010
The answer will be put in ROW A COLUMN J

When was the last time BILL sold a RED car?
The answer should be 1/10/2010.
The answer will be put in ROW B COLUMN I

When was the last time BILL sold a car irrespective of color
The answer should be 1/11/2010
The answer will be put in ROW B COLUMN J

I have attached a thumbnail of a sample Database

View 9 Replies View Related

Perform VLookup And Hlookup At The Same Time

Jun 30, 2006

I was wondering is it possible to perform a VLOOKUP AND HLOOKUP in the same formulae or is there another way to perform this task. the attached example

View 2 Replies View Related

Use HLOOKUP AND VLOOKUP - Or Macro (drop Down The Cells In B4 And D4 )

Oct 13, 2009

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.

View 3 Replies View Related

Dependent Values With HLookup / VLookup / Indirect

Nov 23, 2012

I want to extract/generate data from a database (same as like we can do with filter or pivot method) with H/VLookup or any other method.

Like:
Sheet 1 (Database)- 23-column & 690-Rows having record of 9 Different Groups)

Sheet 2 (Report)- A2 contains List of 9 Different Groups, If I select Group 3 from that list then I want to show all relevant data of Group 3(23-Column) in this sheet.

View 9 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

Find Out Row And Column Of Location Of Hlookup Table?

May 4, 2014

After I run Hlookup on a product, I would like two variables, Row and Col, to assign the actual row and column of the spreadsheet to the location in the table. I have a small worksheet/program that I have attached, what I am trying to do. The program works, but my code is very long for the little bit of information.

Sales.xlsm‎

View 2 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

Cleaning Up VLOOKUP Formula With Possible Matrix Code

Jan 15, 2009

I am wondering if there is an easier way to look up values in a matrix. I use the VLOOKUP with the vertical values as the lookup_value, then another lookup for the col_index_number to find the horizontal values. The example in the attached file is just a sample of my spreadsheet. I need to apply this to a roughly 10*10 matrix (which changes every now and then) and apply this matrix to over 1,200 rows. Is there an easy way to returne theses values or is the way I am currently doing it the best option.

View 3 Replies View Related

Macro To Run Multiple Solver Solutions

Sep 28, 2008

A single macro that I can assign to a button and, when clicked, will compute 3 solver solutions instantly without the solver boxes popping up.

My problems
I am having trouble with the "ValueOf:=" part. In my code below, I am trying to tell it to go to either cell b14, b15, or b16, select that value which will be a number, and use that number as the "ValueOf". The ValueOf is the number I am ultimately trying to achieve using Solver. Range("B##").select doesn't work but I need to somehow select that number in that cell and tell solver to use that number when computing.

If I manually type a number for the "ValueOf:="0.952975095" it will compute it correctly but manually typing this number in each time defeats the purpose of creating this macro. The whole purpose of this macro is so I don't have to manually type in numbers.

Also, recording a macro with multiple solver steps hasn't worked. When the macro is ran with multiple Solver solutions, it only computes one solution... the last one. I think the last data is stored in the Solver application but I'm not sure how to erase it, and start a new solver setup. Anyways, you all would know better than I would.

What's important?
It needs to compute in a certain order. In this order: Cells D14, then D15, Finally D16. That's probably not a big deal though.

My code

Sub Macro1()
'
' Macro1 Macro
'

SolverOk SetCell:="$C$14", MaxMinVal:=3, ValueOf:=Range("B14").Select, ByChange:= _
"$D$14"
SolverSolve UserFinish:=True

SOLVERreset

View 4 Replies View Related

Matrix (find Any YES Strings)

May 22, 2008

I have a set of 4 columns with YES/NO statements in them.
I need to find any YES strings, of three or more, within one column, uninterupted by a YES in another colum.

EXAMPLE:
_____A ___B__C__D__E
1 1/1/2008 YES NO NO NO
2 1/2/2008 NO NO YES YES
3 1/3/2008 YES NO NO NO
4 1/4/2008 YES NO NO NO
5 1/5/2008 NO NO NO NO
6 1/6/2008 YES NO NO NO..................

View 4 Replies View Related

Combining IF And Either Vlookup Or Index

Apr 17, 2009

I think I need to combine functions to allow me to automate data entry from a table from another worksheet. If the Name entered in column A on Exp Breakdown matches a name in column A of Salary Breakdown I cannot seem to write a function to scan the table in Salary breakdown and lookup the percentage that person is paid from a specific program number. I have attached a sample worksheet to hopefully make it easier to understand.

View 3 Replies View Related

Combining VLookup And Sumif?

Oct 3, 2011

I think I need to combine a vlookup and sumif, but am struggling.

I need a formula to total the values in 'Drivers & Standings'!AB3:AB37 where 'Drivers & Standings'!D3:D37 matches A2

View 2 Replies View Related

Combining VLOOKUP Formula

Oct 27, 2009

I have a set of data consisting of 3 columns.

Column A - Clinic Names (Alpha Numeric)

Column B - Task (Alpha Numeric)

Column C - Output (Numeric)

There are 52 clinics and each clinic has to perform the same 36 tasks

example:

Clinic A Task 1 #
Clinic A Task 2 ##
Clinc A Task 3 ###
Clinic B Task 1 #####
Clinic B Task 2 ######

I would like to seach for a clinic then search for a particular task and then display the output

I tried a Vlookup with a nested Match and that did not work.

View 10 Replies View Related

Find & Return Intersection Of Matrix

Aug 20, 2008

I have a 10 x 15 matrix named "Range1"

I have named the range of Column headings in that matrix as "Weight", and the range of Row headings as "Height". And then all the matrix cells contain some values.

Now I need to find the value from intersection of height and weight (please see the attached excel file)

Attention: I need to use excel VBA code to do the trick. (Not Worksheet formula using for example INDEX and MATCH)

View 6 Replies View Related

Combining A VLOOKUP And PRODUCT Function

Sep 11, 2009

I am using the following formula to calulate the compounded rate of return for a series of monthly returns: {=(PRODUCT(1+(b1:b100)/100)-1)*100}

I would like to be able to integrate a VLOOKUP function into the above formula so that it looks at the dates in column A and then apply the PRODUCT function above to the return values in column B that fall between start and end dates specified in cells C1 and D1.

View 4 Replies View Related

Combining If And VLookup Formula In One Cell

Nov 19, 2013

I am trying to create one formula that can be copied to other cells to get varied results.

Here are the formulas

1. =IF('Calculated Rental Fees'!H4='Daily Rentals & Charges'!$B$28,'Daily Rentals & Charges'!$B$30,VLOOKUP('Daily Rentals & Charges'!$A$20,LATECHRGETBLE,2,FALSE)*C4

2. =IF(AND(I4>='Daily Rentals & Charges'!$A$36),I4='Daily Rentals & Charges'!$A$38),VLOOKUP('Daily Rentals & Charges'!$A$22,LATECHRGETBLE,2,FALSE)*C4)

Basically i am trying to calculate late fees for a rental company using the if and vlookup functions.

View 2 Replies View Related

Vlookup With 3 Different Variables?

Jun 26, 2014

vlookup with 3 different variables, for example cells k4 k5 and k6 can be changed to give different variables. Is it possible to have a vlookup function in cell k9 which returns the correct % when the 3 variables are chosen. example, blue boat 48 would return %value of 21%

View 2 Replies View Related

VLOOKUP On Two Variables

Apr 27, 2006

I have been having diffuculty stringing two cell contents together using the operand: '&'. Is there another way to do a VLOOKUP on two variables?

View 2 Replies View Related







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