Numbers And Text In Same Cell & Tally In A Formula

May 10, 2008

Can numbers and text be included in the same cell and still have the number be included in the total in a formula in another cell? Or must a cell only have numeric values for it to be seen/included in a formula's total value.

I'm trying to create a database that totals materials for a construction project. I want to display the number of doors for a house in a row of cells and have the all the doors totaled in the last cell. This I have no trouble doing.

The problem arises when I want to add some text information about the style of each door in the same cell that the number of doors is shown. As soon as text information is added to a cell that has numeric information, that cells numeric information is not included in the final total in the last cell in the row.

I resorted to using comments instead, but, when the are made visible on the spreadsheet, they don't seem to lock to a relative position regarding the cell they're attached to. For instance, if I widen columns or make any significant spatial changes to the spreadsheet, the comments don't move with the changes.

There may be a way to lock comments to stay in a relative position regarding the cell they're attached to. And if that's the only way to make comments for the items in each cell stay with the cell, then I'll have to use that method. But I'd rather not have to use the comments function at all.

I'd much rather be able to have numbers and text be in the same cell, and still have the number value of that cell be included in a formula total at the end of a row of numeric information.

Example: (In this example separate cells that include both numeric values and text are indicated by parenthesis. The final cell that has the formula that totals the numeric information in the separate cells is indicated by brackets)

(30, raised panel doors, unpainted) (10, raised panel doors, white)

View 9 Replies


ADVERTISEMENT

Word Text +1 Tally With Cell Placement

May 28, 2014

I am looking for a formula or multiple formulas to perform an If/Then statement, adding and dividing. Example listed below.

If O8 = 'Y' then perform XXXX, otherwise, do nothing.

XXXX= in Y8 search for word 'apple' and add tally to AA46, in Y8 search for word 'orange' and add tally to AA47, in Y8 search for word 'banana' and add tally to AA48.

Take AA46/Y46 and put results in AB46.

If this could be put into on cell and perform all the needed actions, otherwise, multiple cell formulas is ok.

View 10 Replies View Related

Formula To Highlight Text Within A Cell Which Also Has Numbers

Jun 28, 2006

I have attached a file which shows some cells which start with "p" and then a number and some have the same but with the word " total" in them.

I would like to run a formula in the column next to it which will highlight which cells have that word in order that I can data sort a large file and delete the totals.

I think it will be an IF formula on cells that contain criteria.

View 4 Replies View Related

Tally Cell Automatically Based On CheckBox State

Jan 18, 2008

In my spreadsheet the user has the option to put in a numerical value into different cells, which will update (add to) another. So if we have an initail value of 20 in "I10" and the user puts in 20 in "W12", then I10 will display 30.

Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("W12:X24")) Is Nothing Then
Select Case Target
Case Is = Range("W12")
Logbook.Show
Range("I10").Value = CInt(Range("I10").Value) + CInt(Target.Value)
Case Is = Range("X12")
Logbook.Show
Range("J10").Value = CInt(Range("J10").Value) + CInt(Target.Value)
Case Is = Range("W13")
Logbook.Show.................

View 6 Replies View Related

Copy Only Numbers Within A Cell With Text And Numbers

Mar 25, 2014

I am looking for a formula to grab only the numbers withing a cell that has text in it i.e (John Peters142 lp) or (Sally Jones54) or (Terry Cram310 jkb) sometimes there will be text after the number and sometimes not, the format is as shown with no space between name and number but a space after the number.

I added a sheet for visual example.

View 2 Replies View Related

Match (text) Numbers To Numbers From One Cell To Another

Oct 12, 2006

I need the " solutions cells " to match to the " source cells " and return a " yes " or " no ". in cells d4:d10. Ex: #1 cell C4=01234598, it will conduct a search & match of cell A5 which contains the number 123, since cell C4 contains all 3 numbers from cell A5, then the formula would result in a " Yes ". The match has to contain all 3 numbers from the solution cells to the source cells.

Ex: #2 cell C7=67891234, it will conduct a search & match of cell A8 =901. Since cell C7 only contains the 9&1 from cell A8, it would return a " No " because cell C7 did not contain all 3 numbers from cell A8. I'm not sure if the IF, Match, Index or Count formula is the right one to use, they all seem to partially work, but still don't complete this problem.

View 4 Replies View Related

Can Formula Be Used To Add Numbers Within Text?

Jun 30, 2014

Another spreadsheet I use has a score within a text and i want to know how I can add up the scores easily.

In the example below I want to know If a Formula can return '9 out of 12'. I know this looks easy so why bother, but my sheet has far more rows/columns of data.

I thought of using Left and Right formula's to strip the numbers out.

Name
Score

A N Other
3 out of 4

A N Other
2 out of 4

A N Other
4 out of 4

View 9 Replies View Related

Formula To Separate Numbers From Text

Oct 28, 2012

I know I can use text to columns to do this. I have horse results listed in column A as follows 3.5L (i.e. 3.5 lengths), 4L and so on. Every number ends with an L. I want a formula in column O that just gives me the number as below:

3.5L 3.5 (in column O)
4.5L 4.5

and so on.

View 3 Replies View Related

Formula To Isolate Numbers From Text?

Oct 28, 2012

In A1 I have the following text: Distance: 457 meters

I want a formula N1 that isolates the numbers so it shows 457 only

View 3 Replies View Related

Macro To Read Just The Text In A Cell Containing Text And Numbers

Apr 10, 2014

I need to get a code that will just read the text in a cell that contains text and numbers example abc123 I want it to only read the abc as the numbers can change and cant write them all into my macro all the time.

View 9 Replies View Related

Formula To Get Date In Text Based On Numbers

Jan 25, 2014

I have following numbers in Column A. I need formulas to get results shown in Column B and C.

ColumnA ColumnB ColumnC
Numbers Formula?? Formula??

200001 January Jan 00
200101 January Jan 01
200102 February Feb 01
200710 October Oct 07
200912 December Dec 09

View 2 Replies View Related

Formula To Add Numbers And Exclude Text Values

Apr 1, 2009

I need a formula that calculates the values of 5 seperate cells located in different places throughout my sheet. The value will either be numerical or display a text value (normally "RD"). If it displays text I do not want that value counted. So it literally just totals the number values.

View 7 Replies View Related

Amend Formula So Its Counts Both Text And Numbers?

Apr 23, 2014

I have the following SUMPROCUCT in place and it works fine for current purpose:

=SUMPRODUCT(VLOOKUP($E$9,Rota!$C$4:$FU$369,{5,30,53,78,103,137},FALSE))

columns 5, 30, 53, 78, 103, 137 all contain text. However I need to amend some of these to text but I still need the SUMPRODUCT to add up.

Is there a way to amend the above formula so its counts both text and numbers in 5,30,53,78,103,137 ?

View 2 Replies View Related

Formula To Switch Numbers To Text And Add Zeros

May 12, 2014

I have the below list of numbers that I need a formula to convert to text and add zeros in the front of the numbers where there are not 6 digits.

207253
197706
8465
9085
102169
19667
183799
183297

Desired Results in Text Format:
207253
197706
008465
009085
102169
019667
183799
183297

View 2 Replies View Related

Date Formula To Display In Text Without Numbers

Dec 18, 2009

I want to show a date like 18-12-2008. This wil normal work with =()TODAY-356

But when I output text with this formula it will only show numbers:

="date "&TODAY()-365&""

I want to subtract 1 year of today.

I tried to set my cell to the date format but this did not work.

View 9 Replies View Related

Text And Numbers In Same Cell Sum Of Numbers?

Oct 31, 2010

multiple numbers and text are in single cell which are separated through spaces or comma, is there any formula which can bypass text and add all the numbers in the cell.

For example:

red 12, yellow 10, green 5 27 red 3, blue 9 12 yellow 21, blue 3 24

View 9 Replies View Related

Copying Cells With Text And Numbers To Another Workbook Using Formula?

Dec 10, 2013

I have to fill out forms for work and some of the info is the same and isd put on seperate sheets. On sheet one I have cells with the information that is the same on the different forms on shhets 2 and 3 i have the forms.

here is what i have having problems doing.
12-47136569
13x129077

How can i do a formula that copies the above values exactually to a cell ona another sheet

View 1 Replies View Related

Array SUMIF Formula To Sum If Numbers But It Not Place Text?

Feb 10, 2014

I have a list of Items and the quantities of those items on one sheet. Each item has a section location number as well. (three Columns, Item, Quantity, and Section Location). the list can repeat the same item multiple times.

This is why I then have a summary sheet to uses a SUMIF formula to sum the quantities of a given item that are in a givin section. which my SUMIF Formula works great for. But my problem is some items have the word "LUMP" as its quantity and not a number. I want to add to my array formula so if the item does have a LUMP quantity and the lump quantity is in the section location to put LUMP on the summary sheet. here is my formula

=SUM(IF((ProjectInfo!$AE$2:$AE$307 =$B59)*(ProjectInfo!$AD$2:$AD$307= AA$10),ProjectInfo!$AF$2:$AF$307,""))

projectInfo is the sheet where the list is. Column AE is the Item column on the projectinfo sheet column B on the summary sheet would be the item that i want to sum the quantities for Column AD is the section location column on the projectinfo sheet the AA$10 is the row and column of the section location i want to limit the sum of the quantities to the formula is in cell AA59 So it will sum all the quantities in the list on the projectinfo sheet if the item and section location match whats specified on the summary sheet.

getting LUMP to display if its a lump quantity. The Lump can only show up if the item on the projectinfo sheet has LUMP for that Item AND in that section location.

EDIT: Column AF on the ProjectInfo Sheet is the quantity column

View 5 Replies View Related

Conditional Formula: If Text, Repeat As Number To Sum, Else Sum Numbers.

Dec 29, 2008

I can get only so far, then stumped:3 columns (Hours, Rate, Amount). "Hours" is a 'List' with data from from another sheet. Data is named 'Worked'. 'Worked' is all 2 decimal numeric (represents total time worked), except first item called "Live In"
IF 'Hours' is "Live In", I can use: =IF(A1="Live In", SUM(B1*1))

How can I make it conditional so that if it's not "Live In", then it will SUM(A1*B1)?. SideNote: 'Worked' LIST has total time with minutes expressed as 1/4 of hour (i.e., 1.25 = 1 hour, 15 minutes).

View 5 Replies View Related

Formula To Remove Preceding Numbers From Text Input

Mar 5, 2012

I have data in the (various) formats as follows:

1) Text value here
1. Text value here
1.Text value here
1 Text value here
1)Text value here

Is there a way to take the cell contents from the first Alpha character? (i.e. no punctuation, no numbers). There are other numeric characters in the text values that I would like to keep.

View 5 Replies View Related

Excel 2010 :: Formula That Will Work With Text And Numbers?

Dec 10, 2013

I am working in Excel 2010 (Windows 8) and am having real problems trying to find a function/formula that will work with both numbers and text. I am trying to identify if the contents of Col A cells and Col C cells on each row are duplicated within a worksheet, and if they are, to add a 'J'.

(Column A is a list of numerical company codes and Column C is a list of adviser codes using the letter A-G. If a company ID code has more than one of the same adviser codes referenced to it, it is termed 'Joint', hence the 'J').

The formula I've used is: =IF(A2:C2, FREQUENCY>1, "J")

But it tells me 'numbers only'.

View 4 Replies View Related

Formula To Rank Text Objects Based On Numbers, Interesting Read

Dec 30, 2008

I'm attempting to create a formula that will find the name associated with a value, and return that name on the same column as that value in a later equation.

OK OK to illustrate it a little better:

There are three people: Bill, Ted, and Andy. Each one is ranked in Points, so my table looks like this:

A B

1 Bill 10
2 Ted 20
3 Andy 30

Later on, I want to rank the individuals based on their score, using a formula. Right now, I can rank the scores based using LARGE(B1:B3,1), then LARGE(B1:B3,2), and lastly LARGE(B1:B3,3). That ranks the numbers in descending columns. However, I want the information to automatically populate the name associated with that particular point total. So, I want the system to know that B1 is Bill's score, and rank it, in descending order, later on in the spreadsheet, with Bill's name.

View 9 Replies View Related

Cell With Both Text And Numbers?

Jul 11, 2012

I'm trying to extract the numbers from a cell containing both numbers and text. In other words, say the current selected cell contains: "63.0 Vac", I would like to store the 63.0 in a variable using VBA.

View 8 Replies View Related

SUM Numbers & Text In Same Cell

Nov 14, 2006

I have several cells I need to sum that are MB K size related. IE.....

Circuits per Router....
155 MEG
85 MEG
100 MEG
768 K
512 K
76 MEG

need to total these
add up the MEG as 416MEG
and the K 1.2MEG
Total 417.2MEG

View 3 Replies View Related

Cut Off Numbers From Cell Text

Apr 11, 2007

I've got two spreadsheets one with a load of names and a blank column I need to put mobile numbers into, and a second with a column with names and numbers and a second column with mobile numbers.

About 90% of the people have their mobiles listed in the second spreadsheet, so I've done a VLookup to match their names and if it does match, stick the mobile number into the spreadsheet.... however...

A big proportion of the cells have a name and a user number in the same cell, separated by a comma ie

John Brown, 1048456

So when Vlookup tries to match the above with 'John Brown' in the second spreadsheet it fails.

View 7 Replies View Related

Cell To Change From Text To Numbers

Jun 5, 2014

If I input "wd" to cell d4 I want it to look up say E4 to E20 find the highest and add 100 and change the wd to "1234"

View 3 Replies View Related

Splitting Text And Numbers From The One Cell

Aug 4, 2014

Is there a formula or function that I can use that will allow me to split data like below into two separate cells?

In one cell, I have - Narre Warren Black 6.8-44 & in another cell - Pakenham Maroon 5.4-34 just as an example. (There are quite a number of cells like this) I would like the cell split to show - Narre Warren Black in one cell and then 6.8-44 in the next cell. The same is needed with the following cell - Pakenham Maroon in one cell and 5.4-34 in the next cell.

Because some have one space and some have 2 or 3 I can't use 'LEFT' and I can't use Text to Columns as far as I can see.

View 4 Replies View Related

Extract Numbers Only From Cell Containing Text Also?

Jan 24, 2008

I have a cell that I need to clean up. It contains text and numbers.

What I want to know is this, can I have a formula that will extract just the numbers and not the text?

For example if cell B2 = 'Ref No. 123456'. Could I just extract the '123456'?

View 5 Replies View Related

Seperating Text From Numbers In A Cell

Sep 1, 2009

Hi, Column C has a bunch of addresses that have no spaces between the number and street. (27smith lane instead of 27 smith lane). Is there a way for me to quickly seperate the number and street name from the preceding number in each cell of column c? There are 1075 cells in column C.

View 10 Replies View Related

Format A Cell That Has Numbers And Text?

Oct 2, 2009

I am a biologist that works with transgenic animals and I am using Excel to keep records of my mice. I would like to have a column that includes the age as calculated by the DOB of my animal on any given day.
Furthermore I would like for it to be smart enough to tell me in weeks for younger mice and months for older mice. If i do this, obviously i will need a txt string that says "x mnths" or "Y wks" or whatever.

i have come up with an if/then string that works - but for some reason it will not allow me to format the number of decimal places if i include text. here is the function:

=IF(((TODAY()-B6)/7)>12,((TODAY()-B6)/30.417) &" mnths", ((TODAY()-B6)/7) &" wks")
the B6 cell is the DOB of that particular animal.

so what this SHOULD shoot out is something to the effect of "4 mnths" or "3 wks"
depending on the age of the animal. any animal older than 12 weeks will express in function of months and any younger will be in weeks. however what i end up seeing is something like this: 5.81911431107604 mnths I dont need any where near that many dec places...and obviously this doesn't fit in any reasonably sized cell......

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved