VLookup After A Calculation?

Feb 18, 2013

As a project in school, we are makiing and energy efficiency excel-sheet.

With different loads I calculate the motor load with a formula, and I get a number from 140 to 700 (could be like 680,93).

I have a table which gives me the efficiency value, depending on the load.

A - B
700 - 0,46
630 - 0,46
560 - 0,47
490 - 0,46
420 -0,45
350 - 0,43
280 - 0,40
210 - 0,37
140 - 0,32

how to get this? The calculated result is in cell D2.Tried VLOOKUP several times, but got N/A every time, i guess because the calculated value isn't exactly as in the table. Is there any way to get the closest one?

View 3 Replies


ADVERTISEMENT

How To Use Results Of VLOOKUP In Calculation

Apr 9, 2014

Worksheet1 has data.
Worksheet2 uses VLOOKUP back to worksheet1 for data to populate cells on worksheet2.

The VLOOKUP command below returns a value of 126 to cell C6. I want to use the number result of the VLOOKUP in C6 (126) as part of a calculation for another cell. In thiscase, cell D6 is keyed in. I want to get the result of =(N(D6)-N(C6)) and put it in cell F6. To further complicate things, if C6 is blank, I want F6 to be blank.

VLOOKUP formula that returns a value of 126 from worksheet1 and puts it in cell C6 on worksheet2. It also returns a blank if there is a blank on worksheet1.

=IF(ISNA(VLOOKUP(A6,Pivot_Table!$A$3:$D$36,3,0))+(VLOOKUP(A6,Pivot_Table!$A$3:$D$36,3,0)=""),"",VLOOKUP(A6,Pivot_Table!$A$3:$D$36,3,FALSE))

View 3 Replies View Related

Vlookup, Match, Index: Calculation By Customer, By Service Type

Sep 24, 2009

Using Excel 2003 and am trying to do a calculation by customer, by service type. Attached is the workbook and I've tried numerous ways to do this. On the revenue calculation worksheet, I am tryng to calculate the type of service minutes from the data retrieve worksheet, multipled by the service rate on the rate table for the specifc type of minute by customer. I'd like to build it as a vlookup by customer and then by service type, but have run into difficulty.

View 4 Replies View Related

Make A Calculation(addition) And Use The Answer To Multiply Against Another Addition Calculation

Nov 19, 2008

make a calculation(addition) and use the answer to multiply against another addition calculation....

The sum of (Monday!A1:A4) multiplied by the sum of (Monday!B1:B4) plus (Tuesday!A1:A4) multiplied by the sum of (Tuesday!B1:B4) and so on.

View 2 Replies View Related

VLOOKUP With INDIRECT (become Dynamic As The Table Array Part Of The Vlookup Will Change)

Aug 18, 2009

I have a Vlookup which I want to modify so that it can become dynamic as the table array part of the vlookup will change.

So the basic vlookup is as follows:
=VLOOKUP($R$3,ATTRIBUTION_FACTSET!$M$60:$P$73,2,0)
but the data I am looking for wont always be in the range M60:P73.

So I tried to make it dynamic by doing the following:
=VLOOKUP($R$3,INDIRECT("ATTRIBUTION_FACTSET"&"!M"&U1&":P"&V1),2,FALSE)
The idea being that U1 and V1 would be numbers that can change so in this case U1 would equal 60 and V1 would equal 73

This vlookup is giving me #N/A and no matter how I modify it I cannot get it to work.

View 3 Replies View Related

Hyperlinks And VLookup: VLookup To Find EMail And Web Addresses

Oct 5, 2009

I have a sheet using VLookup to find EMail and Web addresses. I can get the address to show up but not as an active URL address. Is it possible to have the address "active" so I can click on it and activate the EMail or Web Site?

View 5 Replies View Related

Write VLookup Where Data Array Changes Each Time VLookup Used

Oct 29, 2012

I'm trying to do a Vlookup on a file that gets automatically downloaded to the computer from a website. The data is in lots of different data sets, like so:

Loans to countries
Mar
Apr
May
Jun

Loans to banks
Mar
Apr
May
Jun

Every month a new row of data gets added to each table, meaning the start and end cells of the array also shift each time.

View 4 Replies View Related

Double VLookup (vlookup The Same Data From 2 Different Sheets)

Jul 13, 2009

I'm currently trying to vlookup the same data from 2 different sheets. Here is the code i've tried.

View 4 Replies View Related

Vlookup Across Sheets, Nested Vlookup Possibly?

Jun 9, 2009

I’m trying to develop a workbook which holds monthly data on loan information. It tracks the interest and balance on the loan. I want the first page to have a table displaying the interest payments for every individual tab. When I was brainstorming the idea, I was considering a sort of Vlookup function to find the tab the account is on and then a further function, possibly another vlookup which connects the month to that month’s interest payment. Can anyone help me figure this out?

The attached spreadsheet is obviously simplified, there are well over 30 tabs. But I would like it to, ideally, search the account number column, search the workbook for that account number, and then when on that page use the month at the top of the first page and retrieve the interest payment and put it back in the cell. It’d also be great if the formula can be transferred between workbooks. I’m not sure if that makes sense; basically if I were to copy that worksheet into the next months book, I would like that the formula read those tabs instead of becoming obsolete due to references from the first workbook.

View 14 Replies View Related

Vlookup Looping (for Each...next?). Vlookup Loop Technique

Jul 24, 2009

I have data in a pivottable which I want to compare with another table. The lastcolumn+1 of the pivottable needs to get data from another table. I have this for an example:

View 5 Replies View Related

Using Vlookup & Indirect To Ref List And Vlookup Files

Sep 17, 2008

I have a spreadsheet (Need Data.xls) that needs to be filled out with a couple columns of data.

This data lays within 338 spreadsheets which have many items and may only have 2, or 3, or 50 that belong on my Need Data.xls spreadsheet.

I have a tab in Need Data.xls named "DIR" which has a list of 336 excel files that need to vlookup'd into.(not a separate file) They're all setup with this format:

View 14 Replies View Related

Calculation Up To A Set Value

Oct 12, 2007

I have a series of monthly revenues and want to calculate each month a commission % - but only want this commission calculated up to a defined limit from the previous months and current month and then to stop when the limit is reached.

View 13 Replies View Related

SLA And KPI Calculation?

Jan 30, 2014

A
B
C
D
F
1
Received
Overdue
Completed
Untouched

[code]....

Overdue is received in previous slot and still under dependency.

Formula used for untouched - B2+C2-D2

SLA Target Min - 98% and Max 99%

Algorithm - (Total Number of Allocations completed within 5 business days Plus Type A Exclusions) / Total Number of Allocations received minus Type B Exclusions) * 100

I need a individual SLA achieved % which includes untouched too.

View 1 Replies View Related

IF Calculation

Nov 10, 2008

Hoping someone might be able to kindly help me out with this one. It's for a spreadsheet of call charges (credit crunch thing).

On the sheet, I have the call charge up to an hour ($H$5). Over an hour, it's charged per minute at the rate in $H$6.

In cell E27 I can enter the number of minutes for the call.

So basically, if E27 is up to a value of 60 then the cost is just H5, if the value in E27 is 61 or more then it's H5 + (E27-60)*H6.

I'm thinking it's an 'IF' but keep making a mess of it...

View 9 Replies View Related

YTD Calculation

Jan 15, 2009

How do I calculate YTD from 1 MTD cell? The YTD cell needs to keep a running total of the MTD cell. If the current YTD cell has the number 11 in it and I typed 2 in the MTD cell the YTD cell needs to increase by 2.

View 9 Replies View Related

Vlookup Error Msg "unable To Get The VLookup Property Of The WorksheetFunction Class"

Jan 8, 2009

I am receiving a run-time error with following code. The error message is "unable to get the VLookup property of the WorksheetFunction class". I only receive the message when the lookup value is not found in the table.

I thought adding the "False" command at the end would return an "N/A" but it didn't. Is there anything I can add to avoid this error?

View 3 Replies View Related

Calculation Within A Pivot

Dec 11, 2013

What I need is to add a field that gives a gross margin percentage for a project.

To begin, I simplified the following data that the Pivot Table is using. Project (10 different projects), Account Number, Account Category (Revenue, and Cost), Debit Amount, Credit Amount, and a manually inserted column named Total (CR Amount - DR Amount). See 1st image. Pivot1.jpg

I have designed the Pivot table so it lays out like this. Pivot2.png Pivot3 (2).png

I have been trying to enter a calculated field that would automatically provide the Gross Margin Percentage. In the 2nd image, the Grand Total is the gross margin, but I am unable to use that as a selection when creating a calculated field.

View 3 Replies View Related

Automate The Calculation?

May 21, 2014

I am trying to figure out the calculation steps that Goal Seek is doing behind the scenes so I can create the formula rather than clicking on goal seek whenever I need to make a change. I need to maintain certain weeks of supply every week depending on the sales. Let's say i want to maintain 5 weeks of supply every week, I would like to insert a column for "Suggested To Order' column that would change if weeks of supply goes below 5. In this scenario I would do a Goal Seek, but I want to automate the calculation so I don't have to do this step every week.

View 2 Replies View Related

Hh:mm:ss Time Calculation

Nov 5, 2008

i need to total a range of cells, however, these contain time values; hh:mm:ss. it shows me the total when all cells are highlighted. but =sum() doesn't work.

View 2 Replies View Related

Activate The Calculation?

Mar 4, 2009

I have a spreadsheet with several formulas where I have to go into each one of them to activate the calculation. I use F2 and enter. Automatic calculation is on. Do any of you know how this can be done automatically. A VBA-code will fit the purpose.

View 3 Replies View Related

Calculation Direction....?

Aug 26, 2009

My understanding of Excel is that the calculations are performed in Column A first and then down through the rows in Column A. After all the calculations are finished in A, the calculation moves over to Column B and down the rows in B. Is this true?

I know that Excel is a little more complicated than that especially when it creates a queue for calculations, etc. However, assuming there's no calculation list/queue, would the above be correct?

View 4 Replies View Related

Use IF And ROUND In Same Calculation

Oct 23, 2009

I'm creating a spreadsheet to calculate materials with the following columns Cost/10% of Cost/Customer Cost/Qty/Total cost.

I understand that whilst showing rounded to 2 decimal places excel stores more than this in the cell. which then throws out the Total cost by a few pence.

My research leads me to believe I need to use the ROUND function but I'm unsure which cell to use it or how.

View 2 Replies View Related

Solve Day Calculation

Oct 26, 2009

I have spreadsheet that tracks the the rain total for several days. I would like to be able to break it down to the days of weeks that has rain and how much without manually imputing the data.

Days | #of times | total amount
Mon
Tue
Wed
Thu
Fri
Sat
Sun

View 5 Replies View Related

Calculation According To Date

Nov 9, 2009

I have a data in excel , sample sheet attached.

and i have another place for compile where all the data is summarized

What i want is

If the agent name is example 1 and his mistake is present in raw data and it matches the agent id , date and financial then i want excel to calculate how many " financial " error agent made on that particular date only so that i can assign to another agents too , to get exact data no matter in whichever series that data is inserted in excel.

if i use countif and if all the condition are met it shows me all financial mistakes count and if it shows false it turns to zero . if agent make " financial mistake " on 1st nov and he made another non financial mistake then as it should show only the count of that particular agent " financial mistake " on that date only from the given RANGE DATA

View 11 Replies View Related

Calculation Of Average In Vba?

Feb 12, 2014

I use VBA with the macro recorder. Now I'd like to programming a code to calculate the average of three cells.

I've done a lot of measurements about 180 but it can be also more. For one test object I've always done three measurements to get then an average.

My values are beginning in cell C2:CXXX, D2:Dxxx and E2:Exxx. For example I'd like to get the average from C2:C4, D2:D4 and E2:E4. The result of C2:C4 I'd like to have in cell H2, the result of D2:D4 in cell I2 and the result of E2:E4 in cell J2. Then the next calculation is C5:C7, D5:D7, E5:E7 and the results in H3, I3 and J3. And so on.

I've attached my excel file, maybe I didn't explained it well. The VBA-Code is for sheet Export.

CalculationE.xlsx

View 5 Replies View Related

Year Calculation...

Oct 25, 2009

Is there an in-built function within Excel that will help me ascertain what year is next year, and what year is the year before current? I am using =YEAR(TODAY()) to ascertain what year we are currently in, but cannot figure out how to go one backwards and 1 forwards?

View 2 Replies View Related

Slow Calculation

Dec 5, 2009

I got a work sheet with 672 columns of information that im trying to cross compare against. I wanna compare each column against every other column in that row. I have 200 rows of data. That means each i need excel to do 226,128 comparion calculations each row. So that means in the entire work sheet its gotta do 91 million comparisons. Im on a dual core 1.8ghz core 2 duo cpu and 2 gigs of ram on xp pro with excel 2007. I even bumped up my virtual memory by 3 times the size it was yet still its taking forever.

Its taking over 3 hours to do this whole page of calculations. So i opened up visual c++ and quickly programmed in the same code with some generic values and within 3 seconds it computed it all. My guess is that the bottle neck is when excel has retrieve data from the cells because other than that i cant figure out why its so slow. Heres a section of my

View 14 Replies View Related

Calculation Between Two Dates

Jan 26, 2006

I need to find out the amount of time between two dates for filling out
funeral benefits. The form asks how long the person has been alive in Years
Months and Days.

I would like to know if I put for instance 10/21/1955 in say A1 as the birth
date and 01/25/2006 in B1 as the date of death. So what is the formula, if
one, to calculate the time in years months and days that has passed between
the two dates?

View 11 Replies View Related

Month End Calculation

Mar 22, 2006

I am writing a formula to calculate the last and next month end e.g. if I
enter 28-02-06, the expected result will be liked 31-01-06 and 31-03-06.
28-02-06 will be stored in cell A1, and my expected result will be displayed
in A2 & A3.

My formular is liked " =A1-31 , = A1+31. But because of "31"
has to change each month, therefore if doesn't work to my calcaulation.
Also, from the above example, the calculation for March is correct "31-03-06"
but the January is worng, it comes date on 28-01-06. But I need both result
at the end of the month.

View 12 Replies View Related

Date Calculation

Sep 19, 2006

I have a start date, generated onto cell B4 from a user form datepicker control. I also have a course type in cell C4 that course has a constant number of days. I would like to add the number of days of the course to the start date to give me an end date in another column.

View 9 Replies View Related







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