PC Review


Reply
Thread Tools Rate Thread

Basic formula help

 
 
pinehead
Guest
Posts: n/a
 
      20th Feb 2006

Where to start... I'll give you a gernal overview of my sheet.
A B C D
DAY TEMPRATURE WEATHER
1 5 SUNNY
2 30 CLOUDY
3 15 SUNNY
4 57 SNOW
5 78 RAIN
6 98 CLOUDY
A,B,C,D BEING THE COLUMS.

I'm trying to right a formula that looks in column c for the temp 78.
Ass soon as it finds the row with temp of 78 i want it to give to
display in a cell the day on which the temp was 78. So some number
from cell a.

I was attempting to use vlookup
vlookup(78,c1:c6,2,false) however it has not worked for me.
I'm attempting to stay within the use of these following functions to
write my formula "max, min, count, countif, sum sumif, if average,
vlookup.

Thank you for any help you can provide.


--
pinehead
------------------------------------------------------------------------
pinehead's Profile: http://www.excelforum.com/member.php...o&userid=31721
View this thread: http://www.excelforum.com/showthread...hreadid=514393

 
Reply With Quote
 
 
 
 
Bernard Liengme
Guest
Posts: n/a
 
      20th Feb 2006
VLOOKUP looks in the first (left hand) column of a range and can report from
any column in the range.
You are trying to look in column B and report from column A
You need Match and Index
Match will find the row number for the temp = 78
Index will look up that row in the A column
Want details?
best wishes

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"pinehead" <(E-Mail Removed)> wrote in
message news(E-Mail Removed)...
>
> Where to start... I'll give you a gernal overview of my sheet.
> A B C D
> DAY TEMPRATURE WEATHER
> 1 5 SUNNY
> 2 30 CLOUDY
> 3 15 SUNNY
> 4 57 SNOW
> 5 78 RAIN
> 6 98 CLOUDY
> A,B,C,D BEING THE COLUMS.
>
> I'm trying to right a formula that looks in column c for the temp 78.
> Ass soon as it finds the row with temp of 78 i want it to give to
> display in a cell the day on which the temp was 78. So some number
> from cell a.
>
> I was attempting to use vlookup
> vlookup(78,c1:c6,2,false) however it has not worked for me.
> I'm attempting to stay within the use of these following functions to
> write my formula "max, min, count, countif, sum sumif, if average,
> vlookup.
>
> Thank you for any help you can provide.
>
>
> --
> pinehead
> ------------------------------------------------------------------------
> pinehead's Profile:
> http://www.excelforum.com/member.php...o&userid=31721
> View this thread: http://www.excelforum.com/showthread...hreadid=514393
>



 
Reply With Quote
 
=?Utf-8?B?YnBlbHR6ZXI=?=
Guest
Posts: n/a
 
      20th Feb 2006
vlookup will only work if the data on which you're keying (temperature) is
left of the data you're trying to find (day), which is not the case here.
The alternative is to use MATCH to find where in column C the desired
temperature is found, and INDEX pull the corresponding entry in column B:
=index(b:b,match(78,c:c,false))

"pinehead" wrote:

>
> Where to start... I'll give you a gernal overview of my sheet.
> A B C D
> DAY TEMPRATURE WEATHER
> 1 5 SUNNY
> 2 30 CLOUDY
> 3 15 SUNNY
> 4 57 SNOW
> 5 78 RAIN
> 6 98 CLOUDY
> A,B,C,D BEING THE COLUMS.
>
> I'm trying to right a formula that looks in column c for the temp 78.
> Ass soon as it finds the row with temp of 78 i want it to give to
> display in a cell the day on which the temp was 78. So some number
> from cell a.
>
> I was attempting to use vlookup
> vlookup(78,c1:c6,2,false) however it has not worked for me.
> I'm attempting to stay within the use of these following functions to
> write my formula "max, min, count, countif, sum sumif, if average,
> vlookup.
>
> Thank you for any help you can provide.
>
>
> --
> pinehead
> ------------------------------------------------------------------------
> pinehead's Profile: http://www.excelforum.com/member.php...o&userid=31721
> View this thread: http://www.excelforum.com/showthread...hreadid=514393
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic formula Mana Microsoft Excel Worksheet Functions 1 18th Aug 2008 10:10 PM
Basic Future Value Formula & Interest Rate Formula =?Utf-8?B?UGV0ZXI=?= Microsoft Excel Misc 2 12th Nov 2006 04:23 AM
Basic Formula Help (I think basic...) michaeld13 Microsoft Excel Worksheet Functions 1 23rd Oct 2004 12:47 AM
Basic Formula Help (I think basic...) michaeld13 Microsoft Excel Worksheet Functions 0 22nd Oct 2004 06:55 PM
Basic Formula Help (I think basic...) michaeld13 Microsoft Excel Worksheet Functions 1 21st Oct 2004 09:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:18 AM.