Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Text to number value

I'm trying to set up a spreadsheet for shift scheduling. On one spreadsheet
I have shift "titles" and on another I have the hour values for them. I'm
trying to make it so when I put in, say, "PM" on Sheet 1 that it shows "4.5"
in the same cell for Sheet 2.

On sheet 2 I had this:
=IF(Shifts!B3="AD","10",IF(Shifts!B3="PM","5.5",
IF(Shifts!B3="AM","4.5",IF(Shifts!B3="MID","4",))) )

I try to sum all of the days of the week values and it doesn't find them as
numerical values.

So, again, I'm trying to do this:

"MID"=4
"PM"=4.5
"AM"=4.5
"AD"=5

so that I can add up the values to a grand total.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default Text to number value

Remove the double quotes in your formula from the numbers it is supposed to
return:

=IF(Shifts!B3="AD",10,IF(Shifts!B3="PM",5.5,IF(Shi fts!B3="AM",4.5,IF(Shifts!B3="MID",4,0))))

Hope this helps,

Hutch

"brsc" wrote:

I'm trying to set up a spreadsheet for shift scheduling. On one spreadsheet
I have shift "titles" and on another I have the hour values for them. I'm
trying to make it so when I put in, say, "PM" on Sheet 1 that it shows "4.5"
in the same cell for Sheet 2.

On sheet 2 I had this:
=IF(Shifts!B3="AD","10",IF(Shifts!B3="PM","5.5",
IF(Shifts!B3="AM","4.5",IF(Shifts!B3="MID","4",))) )

I try to sum all of the days of the week values and it doesn't find them as
numerical values.

So, again, I'm trying to do this:

"MID"=4
"PM"=4.5
"AM"=4.5
"AD"=5

so that I can add up the values to a grand total.

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
Formula to change scientific number to regular number or text Compare Values Excel Discussion (Misc queries) 2 August 23rd 07 06:10 PM
Counting a mixed text/number column based on text in another colum Sierra Vista Steve Excel Discussion (Misc queries) 3 December 17th 06 05:30 PM
convert text-format number to number in excel 2000%3f Larry Excel Discussion (Misc queries) 1 July 29th 05 08:18 PM
Why does this fail? =TEXT(RC3,Number)&" / "&TEXT(R32C,Number) =TEXT(RC3,Number)& / &TEXT(R32C,Number Excel Worksheet Functions 2 June 23rd 05 01:02 AM
not able to convert text, or graphic number to regular number in e knutsenk Excel Worksheet Functions 1 April 2nd 05 08:41 AM


All times are GMT +1. The time now is 03:37 AM.

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

About Us

"It's about Microsoft Excel"