Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Updated Function Question

I thought I would show an example of what exactly I am getting stuck on. I
am trying to put a rate in A5 based on the following

If A3 is 240 and A4 is 0 then look up the rates from Sheet 2 A1:B7 using
the age in A1 or If A3 is 600 and A4 is 0 then look up the rates from Sheet
2 C1:D7

Sheet 1
A B C
1 =ROUND((($I$1-J8)-185)/(365),0)
2
3 240
4 1
5 ??????
__________________________________________________ ___

Sheet 2
A B C D
240 600
1 1 200 1 500
2 20 300 20 600
3 30 852 30 585
4 40 856 40 893
5 50 159 50 984
6 60 188 60 848
7 70 519 70 561
8
9
10

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Updated Function Question


If A3 is 240 and A4 is 0 then look up the rates from Sheet 2 A1:B7
using
the age in A1 or If A3 is 600 and A4 is 0 then look up the rates from
Sheet
2 C1:D7


=IF(AND(A3=240,A40),VLOOKUP(A1,Sheet2!A1:B7,2,FAL SE),IF(AND(A3=600,A40),VLOOKUP(A1,Sheet2!C1:D7,2, FALSE),0))


--
Excelenator


------------------------------------------------------------------------
Excelenator's Profile: http://www.excelforum.com/member.php...o&userid=36768
View this thread: http://www.excelforum.com/showthread...hreadid=569604

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MATCH function, exclusion question Paul Lautman Excel Discussion (Misc queries) 4 July 21st 06 04:53 AM
Average function question Sum Limit and marking Excel Worksheet Functions 4 July 8th 06 12:51 AM
DB (depreciation) function Help question Youngblood Excel Worksheet Functions 1 July 14th 05 12:11 AM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
INDIRECT function question Joe Excel Worksheet Functions 1 February 14th 05 03:54 PM


All times are GMT +1. The time now is 07:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"