Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 193
Default I need a simple formula

I am trying to write a letter that could have one of several different
paragraphs. The paragraphs are too long to put in a drop-down box, so I need
some way of writing them into excel so that I can choose which one I want.
The other option is workbook A is a questionaire and worbook b is the
letter. Could I have the paragraph in workbook b chosen by the answer in
workbook A?

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,339
Default I need a simple formula

Hi,
One way is set up a table containing your paragraphs (as below):


Type Paragraph
1 This is the first paragraph €¦€¦€¦
2 This is my second paragraph €¦..
3 €¦. And this my third €¦...


Assume the above, including headings, is in cells A1:B4

Then use VLOOKUP to get the required paragraph.

In the table above , the formula "=VLOOKUP(3,$A$2:$B$4,2) will get the
third paragraph.

Put the VLOOKUP formula in the appropriate cell(s) in your letter in
workbook or worksheet?) B.

Replace the "3" by the selection criteria from your questionnaire. These
criteria must be in the first column of the VLOOKUP table i.e replace my 1,2
and 3.

HTH

"Confused" wrote:

I am trying to write a letter that could have one of several different
paragraphs. The paragraphs are too long to put in a drop-down box, so I need
some way of writing them into excel so that I can choose which one I want.
The other option is workbook A is a questionaire and worbook b is the
letter. Could I have the paragraph in workbook b chosen by the answer in
workbook A?

Thanks in advance

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
IF formula-simple question; simple operator Rich D Excel Discussion (Misc queries) 4 December 6th 07 03:36 PM
Simple problem, simple formula, no FUNCTION ! Ron@Buy Excel Worksheet Functions 6 September 28th 07 04:51 PM
Need help with simple formula.... NHhunter Excel Discussion (Misc queries) 3 November 30th 05 11:43 AM
simple formula Brian Excel Worksheet Functions 7 June 17th 05 04:45 PM
simple formula pcscsr[_10_] Excel Programming 3 November 7th 04 08:00 PM


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