PC Review


Reply
Thread Tools Rate Thread

Can anyone help me figure this out???? PLEASE???!!!???

 
 
=?Utf-8?B?U3V6aWVpbk5D?=
Guest
Posts: n/a
 
      22nd Aug 2007
Kind of hard to explain so I will try to set an example:

Each time I type the word "abbey" into a cell, I would like for the next
cell to populate with a monetary value I have assigned. Is this possible??
If someone could just give me a little guidance I could figure it out.

Thanks!

 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      22nd Aug 2007
Private Sub Worksheet_Change(ByVal Target As Range)
Const WS_RANGE As String = "H1:H10" '<== change to suit

On Error GoTo ws_exit
Application.EnableEvents = False

If Not Intersect(Target, Me.Range(WS_RANGE)) Is Nothing Then
With Target
Select Case LCase(.Value)
Case "abbey": .Offset(0, 1).Value = 12
Case "manse": .Offset(0, 1).Value = 22
'etc
End Select
End With
End If

ws_exit:
Application.EnableEvents = True
End Sub

'This is worksheet event code, which means that it needs to be
'placed in the appropriate worksheet code module, not a standard
'code module. To do this, right-click on the sheet tab, select
'the View Code option from the menu, and paste the code in.


--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"SuzieinNC" <(E-Mail Removed)> wrote in message
news5ACBD91-6124-4000-972C-(E-Mail Removed)...
> Kind of hard to explain so I will try to set an example:
>
> Each time I type the word "abbey" into a cell, I would like for the next
> cell to populate with a monetary value I have assigned. Is this
> possible??
> If someone could just give me a little guidance I could figure it out.
>
> Thanks!
>



 
Reply With Quote
 
Peo Sjoblom
Guest
Posts: n/a
 
      22nd Aug 2007
Check VLOOKUP in help, use the cell where you type the word as lookup value



--
Regards,

Peo Sjoblom



"SuzieinNC" <(E-Mail Removed)> wrote in message
news5ACBD91-6124-4000-972C-(E-Mail Removed)...
> Kind of hard to explain so I will try to set an example:
>
> Each time I type the word "abbey" into a cell, I would like for the next
> cell to populate with a monetary value I have assigned. Is this
> possible??
> If someone could just give me a little guidance I could figure it out.
>
> Thanks!
>



 
Reply With Quote
 
=?Utf-8?B?RmFyaGFk?=
Guest
Posts: n/a
 
      22nd Aug 2007
Hi,

Say you have a list like below:

A B
1 Abbey $500
2 XXXXX $200
3 YYYYY $150

and you want when you write Abbey in a cell say C1 you can see the amount in
another cell say D1

enter formula below in D1

=VLOOKUP(C1,$A$1:$B$3,2,FALSE)

Thanks,
--
Farhad Hodjat


"SuzieinNC" wrote:

> Kind of hard to explain so I will try to set an example:
>
> Each time I type the word "abbey" into a cell, I would like for the next
> cell to populate with a monetary value I have assigned. Is this possible??
> If someone could just give me a little guidance I could figure it out.
>
> Thanks!
>

 
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
HOW TO 'BLINK' A FIGURE INSTEAD OFF BOLDING THE FIGURE Nad.Engoor Microsoft Excel Worksheet Functions 3 30th Dec 2008 03:04 PM
Word 2007 - cross reference to figure reproduces figure plus capti =?Utf-8?B?Qm9yaXM=?= Microsoft Word Document Management 2 7th Sep 2007 09:48 AM
how do I link the text about figure number to the figure caption? =?Utf-8?B?Y3J5c3RhbHhk?= Microsoft Word Document Management 1 3rd Apr 2006 06:58 PM
Format Figure Dollar to Text Figure Michael Chong Microsoft Excel Discussion 1 26th Oct 2004 11:42 AM
Auto Convert -figure to (figure) =?Utf-8?B?T25n?= Microsoft Word Document Management 5 3rd Jul 2004 02:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:23 PM.