A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How do I combine/join multiple formulas



 
 
Thread Tools Display Modes
  #1  
Old May 26th 12, 04:47 PM
yonny yonny is offline
Junior Member
 
First recorded activity by ExcelBanter: May 2012
Posts: 2
Default How do I combine/join multiple formulas

I have used some formulas I found here to manipulate some fractions but i need to combine them in order to save space
this is for getting decimal values for inches and their fractions
I have read that just changing the format of the cells is enough but that is not working for me, it does not do it for all the cells

here is my structure
--------------------------------------…
G8 | H8 | I8 | J8 | K8 |
--------------------------------------…
27 1/2 | 27 | 1/2 | 0.5 | 27.5 |
--------------------------------------…
Here are the formulas im using
in H8 -> =TRIM(LEFT(G8;SEARCH(" ";G8)-1)) gets 27
in I8 -> =TRIM(RIGHT(G8;SEARCH(" ";G8)+1)); gets 1/2
in J8 -> =LEFT(I8;FIND("/";I8)-1)/MID(I8;FIND("/"… gets 0.5
in K8 -> =SUM(H8+J8) gets 27.5 which is what I was after

however I dont know enough excel to combine all of the formulas into one and get the results in H8
so it looks like
--------------------------
G8 | H8 |
--------------------------
27 1/2 | 27.5 |
--------------------------
having H8 contain the combined formula without the other steps as I have other steps for which I need the space
hopefully someone out there knows the answer
Thanks in advance
Ads
  #2  
Old May 26th 12, 08:49 PM posted to microsoft.public.excel.worksheet.functions
Claus Busch
external usenet poster
 
Posts: 940
Default How do I combine/join multiple formulas

Hi Yonny,

Am Sat, 26 May 2012 15:47:07 +0000 schrieb yonny:

> --------------------------------------…
> G8 | H8 | I8 | J8 | K8 |
> --------------------------------------…
> 27 1/2 | 27 | 1/2 | 0.5 | 27.5 |
> --------------------------------------…


in H8:
=G8 and numberformat General


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #3  
Old May 26th 12, 11:20 PM posted to microsoft.public.excel.worksheet.functions
joeu2004[_2_]
external usenet poster
 
Posts: 637
Default How do I combine/join multiple formulas

"yonny" > wrote:
> here is my structure
> --------------------------------------.
> G8 | H8 | I8 | J8 | K8 |
> --------------------------------------.
> 27 1/2 | 27 | 1/2 | 0.5 | 27.5 |
> --------------------------------------.
> Here are the formulas im using
> in H8 -> =TRIM(LEFT(G8;SEARCH(" ";G8)-1)) gets 27
> in I8 -> =TRIM(RIGHT(G8;SEARCH(" ";G8)+1)); gets 1/2
> in J8 -> =LEFT(I8;FIND("/";I8)-1)/MID(I8;FIND("/". gets 0.5
> in K8 -> =SUM(H8+J8) gets 27.5 which is what I was after
>
> however I dont know enough excel to combine all of the
> formulas into one and get the results in H8 so it looks like
> --------------------------
> G8 | H8 |
> --------------------------
> 27 1/2 | 27.5 |
> --------------------------


That depends on the type of value you have in G8: text or numeric.

Since the SEARCH seems to work, I assume you have text in G8. In that case,
put the following formula into H8:

=--G8

formatted as General or Number with some number of decimal places.

If G8 is numeric (formatted as Fraction) -- ISNUMBER(G8) returns TRUE -- all
you need in H8 is =G8 formatted appropriately.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i join these two formulas? Frustrated Excel Worksheet Functions 4 December 31st 09 04:12 AM
How can I join two formulas? Little Researcher Excel Worksheet Functions 1 August 10th 08 11:23 AM
Can you combine tables (represent a "join") in Excel? Chunka Excel Discussion (Misc queries) 4 August 10th 07 10:34 PM
Using an IF to combine multiple formulas sharkfoot Excel Discussion (Misc queries) 5 April 2nd 06 06:21 PM


All times are GMT +1. The time now is 10:47 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2004-2013 ExcelBanter.
The comments are property of their posters.