Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Is this a macro or a function?


g'morning everybody...

i don't know if you need a macro for this; maybe a simple function wil
do but i haven't been able to figure it out...

i have column R which contains model #s
i have column S which contains product descriptions (tv, audio, etc...
for the model # in column R

on the same worksheet i have BD through BX which is the prod. desc
again (so basically 21 products/columns)

what i was trying to figure out is if there's a way when i type th
prod. desc. in S, then it's corresponding R will appear in BD throug
BX...

example:

column R column S
tv123 TV
cd999 Audio
and so on...

BW is also TV now, and i'd like for the cell in R (tv123) to appea
under BW then i type in TV in S

i hope i explained well enough...
thanks in advance

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Is this a macro or a function?

Hi
I *think* this is what you ask for
When you type 'TV' in column S, you want 'tv123' to appear in column B
an
When you type 'Audio' in column S, you want 'cd999' to appear in column (for example) B
and so o

If that is the case, you could put this function in column BW
(replacing '2' with the number of the row you are currently editing)
=IF(S2="TV",R2, ""
This function says: If the contents of S2 is 'TV' then show whatever is in R2, else show nothing
Drag the function all the way down in column BW of your worksheet.

For column BX you would us
=IF(S2="Audio",R2, ""
And so on, each column would check for a different value in S

I did not understand your second message - sorr
hth
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
Macro with sum function RobRem Excel Worksheet Functions 1 April 25th 09 03:24 AM
Is there a Function or Macro for This? Marilyn Excel Discussion (Misc queries) 6 November 6th 07 03:21 AM
Sub Macro vrs Function Macro Auto Start Pat Excel Discussion (Misc queries) 7 June 6th 07 09:53 PM
Macro within a function? stevieboy1313 Excel Worksheet Functions 1 September 19th 06 07:57 PM
How Do I (Macro Function)? Swivel Excel Worksheet Functions 1 November 3rd 04 12:21 AM


All times are GMT +1. The time now is 06:12 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"