#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default WHich formula?

Thanks in advance.
Which formula would work here?
I have 7 cells. In one random cell there is a random text value. I want the
text value from whichever cell it is in, to show up in my main cell where I
need the formula.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 99
Default WHich formula?

Hi

When all other cells are always empty, then something like
=A1 & B1 & C1 & D1 & E1 & F1 & G1


Arvi Laanemets


"the dave" wrote in message
...
Thanks in advance.
Which formula would work here?
I have 7 cells. In one random cell there is a random text value. I want

the
text value from whichever cell it is in, to show up in my main cell where

I
need the formula.




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,365
Default WHich formula?

Sounds like a job for SuperIF -- this formula will examine 7 different cells,
change as required, and will put the contents of the first one with something
in it into the cell with the formula.
=IF(B1<"",B1,IF(C1<"",C1,IF(D1<"",D1,IF(E1<"", E1,IF(F1<"",F1,IF(G1<"",G1,IF(H1<"",H1,"")))))) )

If the cell to have the formula is one of the 7 you mention, then this is a
6-IF solution:
=IF(B1<"",B1,IF(C1<"",C1,IF(D1<"",D1,IF(E1<"", E1,IF(F1<"",F1,IF(G1<"",G1,""))))))


"the dave" wrote:

Thanks in advance.
Which formula would work here?
I have 7 cells. In one random cell there is a random text value. I want the
text value from whichever cell it is in, to show up in my main cell where I
need the formula.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default WHich formula?

This is an interesting question. Let's say that A1 thru G1 are all empty
except one. We want a formula to return the value in that single non-empty
cell:

=A1&B1&C1&D1&E1&F1&G1
--
Gary''s Student


"the dave" wrote:

Thanks in advance.
Which formula would work here?
I have 7 cells. In one random cell there is a random text value. I want the
text value from whichever cell it is in, to show up in my main cell where I
need the formula.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default WHich formula?

see responses to your question posted in excel.misc

--
Regards

Roger Govier


"the dave" wrote in message
...
Thanks in advance.
Which formula would work here?
I have 7 cells. In one random cell there is a random text value. I
want the
text value from whichever cell it is in, to show up in my main cell
where I
need the formula.






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default WHich formula?

Thank you all. Adding the cells returns #VALUE!. CONCTENATE worked.

thx again.

"Roger Govier" wrote:

see responses to your question posted in excel.misc

--
Regards

Roger Govier


"the dave" wrote in message
...
Thanks in advance.
Which formula would work here?
I have 7 cells. In one random cell there is a random text value. I
want the
text value from whichever cell it is in, to show up in my main cell
where I
need the formula.





  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default WHich formula?

Try this:

=INDEX(A1:G1,MATCH(TRUE,A1:G1<"",A1:G1))

ctrl+shift+enter, not just enter


"the dave" wrote:

Thanks in advance.
Which formula would work here?
I have 7 cells. In one random cell there is a random text value. I want the
text value from whichever cell it is in, to show up in my main cell where I
need the formula.


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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


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