LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default IF function results to include both text and cell value

I have a database with over 25,000 names and addresses. I'm using Excel 2007
to edit it. I am setting up a mail merge in Word 2007. Unfortunately, when
the database was set up, cells in the column titled "PO Box" contain only the
box number. When I merge, I get only a number. I need the label to read "PO
Box xxxx". I decided to set up a column in my database to add "PO Box" in
front of the number in the cell. (That is D1 value of 73 becomes E1 - PO Box
73. I am using the IF function to decide if a cell has a number, and if it
does have a number, result would be "PO Box" with the cell value. If cell
does not have a box number, the cell would be left empty. I can make it work
with the text "PO Box" and I can make it work with just the cell value. I
cannot make it work with both. I hope someone can help me with this. This is
what I tried: =IF(D10,"PO Box "D1,"")
What do I need to add to this to make it work? Sorry, I don't work at all
with formulas, so could be way off base here and probably am not making this
very clear.
 
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
Creating a formula to include results from forms Crazyloonybin Excel Discussion (Misc queries) 0 January 7th 09 07:57 PM
TEXT function with unusual results Beans Excel Discussion (Misc queries) 4 April 16th 08 09:11 AM
How do I include part of a cell in text (string?) in another cell? Chris Mitchell Excel Worksheet Functions 2 June 25th 07 10:08 AM
How do I include TEXT in the same cell with a FORMULA? NJCHAZ Excel Discussion (Misc queries) 2 June 21st 07 05:39 PM
in excel how to display results of a function and text in the sam. ez123 Excel Worksheet Functions 3 November 19th 04 01:16 PM


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