Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default HLOOKUP with 2 values and choose 1 value

Hi,

I have a spreadsheet with property names, months and rents lay out
horizontally. Each property name takes up 2 cells, of which underneath
are May and June and rent amounts for May and June. Can i use HLOOKUP
to just select the rent under May?

Ex:
Property

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default HLOOKUP with 2 values and choose 1 value

probably the simplest way would be to use a helper row which you can hide
in the helper row (3?)
in A3
=A1&A2
and in B3
=A1&B2
use the helper row as you lookup row and have your lookup value be the
equivelant of A1&A2

"Positive" wrote:

Hi,

I have a spreadsheet with property names, months and rents lay out
horizontally. Each property name takes up 2 cells, of which underneath
are May and June and rent amounts for May and June. Can i use HLOOKUP
to just select the rent under May?

Ex:
Property


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default HLOOKUP with 2 values and choose 1 value

Replied to your first posting as shown below:

A B C D E F
G
Property River Forest Mountain
Month March April March April March April
Rent 30 40 35 45 65 70


To get March data for "River"

=INDEX($B$3:$G$3,0,MATCH("River",$B$1:$G$1,0))

To get April data for "River"

=INDEX($B$3:$G$3,0,MATCH("River",$B$1:$G$1,0)+1)

Change "River" to "Forest"/"Mountain" for equivalent

HTH


"Positive" wrote:

Hi,

I have a spreadsheet with property names, months and rents lay out
horizontally. Each property name takes up 2 cells, of which underneath
are May and June and rent amounts for May and June. Can i use HLOOKUP
to just select the rent under May?

Ex:
Property


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
HLOOKUP and choose one value among 2 values Positive Excel Worksheet Functions 1 July 25th 07 08:04 PM
using hlookup with sum/choose? Stacey Excel Discussion (Misc queries) 1 March 28th 07 05:10 PM
How do I put combo box values into cells (without using @CHOOSE) LongTermNoob Excel Worksheet Functions 4 March 8th 07 01:44 PM
CHOOSE function - Possible with 100 values??? Fecozisk Excel Discussion (Misc queries) 1 July 12th 06 09:22 AM
How do I choose multiple values in a drop down box? Kristy Excel Discussion (Misc queries) 3 April 1st 05 04:49 PM


All times are GMT +1. The time now is 06:07 PM.

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"