#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default Format cell?

How do I format a cell to read the following.

56033
or
56034/34

I input the data above on cell"A1" and on cell "F1" I have the following
formula =A1
It works with the first number but not with the second one.
Any ideas?
--
Sophie
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 694
Default Format cell?

Hi Sophie
You say its not working, what is it doing? what are you getting in that cell?
John

"Sophie" wrote in message
...
How do I format a cell to read the following.

56033
or
56034/34

I input the data above on cell"A1" and on cell "F1" I have the following
formula =A1
It works with the first number but not with the second one.
Any ideas?
--
Sophie


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default Format cell?

In cell "A1" has the following formular
=LOOKUP(2,1/(detail!D4:D4997),detail!D4:D4997)
which looks up the column and picks the last entry. But if the number has a
forward slash it picks the next number with no slash.
Cell "F1" displays what is in cell "A1".
--
Sophie


"John" wrote:

Hi Sophie
You say its not working, what is it doing? what are you getting in that cell?
John

"Sophie" wrote in message
...
How do I format a cell to read the following.

56033
or
56034/34

I input the data above on cell"A1" and on cell "F1" I have the following
formula =A1
It works with the first number but not with the second one.
Any ideas?
--
Sophie



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Format cell?

Actually, that formula picks up the last numeric (non-zero) entry.

If you want the last non-empty entry:
=LOOKUP(2,1/(detail!D4:D4997<""),detail!D4:D4997)



Sophie wrote:

In cell "A1" has the following formular
=LOOKUP(2,1/(detail!D4:D4997),detail!D4:D4997)
which looks up the column and picks the last entry. But if the number has a
forward slash it picks the next number with no slash.
Cell "F1" displays what is in cell "A1".
--
Sophie

"John" wrote:

Hi Sophie
You say its not working, what is it doing? what are you getting in that cell?
John

"Sophie" wrote in message
...
How do I format a cell to read the following.

56033
or
56034/34

I input the data above on cell"A1" and on cell "F1" I have the following
formula =A1
It works with the first number but not with the second one.
Any ideas?
--
Sophie




--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default Format cell?

Thank you very much, just the job it works well.

--
Sophie


"Dave Peterson" wrote:

Actually, that formula picks up the last numeric (non-zero) entry.

If you want the last non-empty entry:
=LOOKUP(2,1/(detail!D4:D4997<""),detail!D4:D4997)



Sophie wrote:

In cell "A1" has the following formular
=LOOKUP(2,1/(detail!D4:D4997),detail!D4:D4997)
which looks up the column and picks the last entry. But if the number has a
forward slash it picks the next number with no slash.
Cell "F1" displays what is in cell "A1".
--
Sophie

"John" wrote:

Hi Sophie
You say its not working, what is it doing? what are you getting in that cell?
John

"Sophie" wrote in message
...
How do I format a cell to read the following.

56033
or
56034/34

I input the data above on cell"A1" and on cell "F1" I have the following
formula =A1
It works with the first number but not with the second one.
Any ideas?
--
Sophie



--

Dave Peterson

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
Lock Cell Format - Allow copy and paste of data without format change Chris12InKC Excel Worksheet Functions 2 May 9th 23 07:42 PM
Can cell format come from and change with reference cell format jclouse Excel Discussion (Misc queries) 1 November 29th 06 03:20 AM
how do i format a cell based on format of a range of cells? Chris Hardick Excel Discussion (Misc queries) 2 April 3rd 06 08:54 AM
How do I copy data in single cell format to a merged cell format Paul Excel Discussion (Misc queries) 1 June 27th 05 11:00 AM


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