Lookups Nested Within Lookups

Published on December 2016 | Categories: Documents | Downloads: 39 | Comments: 0 | Views: 241
of 3
Download PDF   Embed   Report

Excel Function

Comments

Content

Lookups Nested Within Lookups
Here we have three worksheet
1. order form template

2. Country worksheet

3. Items which contain UKPrice, USPrice and WorldPrice columns.

Now we are define a name country worksheet via ctrl + A > Formula > Defined Name > Define Name >
country > Ok.
Now what we like to do here in our form template worksheet whenever we type country code it will
automatically show us full country name.

Now we will set VLOOKUP for UNIT $ for automatically update Unite price according to our country code
from Items worksheet.

=VLOOKUP (A9,STOCK,VLOOKUP(C4,country,3,false),false)
A9= ITEM Code
STOCK = Items information define name.
VLOOKUP = Nested VLOOKUP
C4 = CODE
Country = country worksheet define name.
3 = Column
False = exact match.

We may use error checking via using isna function.
=IF(isna(VLOOKUP(A9,STOCK,VLOOKUP($C$4,country,3,false),false)),0,VLOOKUP(A9,STOCK,VLOOKUP($
C$4,country,3,false),false))

Working with Time In Excel
Time function: A prewritten formula that takes a value or values, performs an operation, and returns a
value or values. Use functions to simplify and shorten formulas on a worksheet, especially those that
perform lengthy or complex calculations.
If we like to use time in excel then we have use semi colon: 12:00. Excel will store time in Military format
24 hours. If we type

Note: here we type A1 as 12:00 and it was in custom Number format but if we change it as General
Number format then it will be 0.5 because it will apply =12/24. If we use 9PM it will use it as TEXT but if
we type 9 PM then it will take as Time format. If we like to type 30:30:00 then it will represent us
6:30:00.
Now we are working on a worksheet to calculate starting and ending time of an employee.

Here we just deduct C5 to D5. We need to change on D column all of Value as custom > H:mm:ss > ok
format. We have #### because we are deducting =2:00-11:00. That’s why it showing us something like
this. So = =IF(C9<B9,(C9+1)-B9,C9-B9) now we need to change it as Time number format.
We may also use =if (C9>b9, 24*(c9-b9), 24+24*( c9-b9)) Books 108 Pages.

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close