Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default creating a formula that condenses information in a cell

I need a formula that brings back a set amount of information when there are
variable amounts of information in the selected cell. I am working in a
spreadsheet where column a has numbers of different length. I am trying to
create a formula that brings back a variable amount of information. In some
cases I would need the first four digits brought back, in others the first
five digits, and so on.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 176
Default creating a formula that condenses information in a cell

Is there any kind of pre-set logic to how many characters you bring back?
For example do you have a hyphen separating the strings in each cell, and you
want to bring back everything to the left of that? e.g. you want the "1FY3"
part of "1FY3-DI84"? In this case: =LEFT(A1,SEARCH("-",A1)-1)

If this isn't what you're looking for search the help menu for LEFT(), MID()
and RIGHT() for pulling out substrings of variable lengths.
--
Regards,
Dave


"Looking for Answers" wrote:

I need a formula that brings back a set amount of information when there are
variable amounts of information in the selected cell. I am working in a
spreadsheet where column a has numbers of different length. I am trying to
create a formula that brings back a variable amount of information. In some
cases I would need the first four digits brought back, in others the first
five digits, and so on.

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
assign formula to another cell Dannycol Excel Worksheet Functions 3 May 12th 06 09:46 PM
Cell sizing in a Vlookup formula to fit information. Mike Excel Worksheet Functions 2 May 3rd 06 06:11 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
inserting data from a row to a cell, when the row number is specified by a formula in a cell [email protected] New Users to Excel 2 January 6th 05 07:18 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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