Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Kim
 
Posts: n/a
Default HELP...on my IF formula

Hi - I'm trying to figure out a problem I'm having with my IF formula. See
below, I had to add "yr" after my numbers or else it came up blank. I want to
be able to put in just the number 1, 2, 3, 4 or 5 with out the yr behind it
and figure out my percent. Can someone please help me? Thanks in advance!

=IF(C19="1yr",1%,IF(C19="2yr",2%,IF(C19="3yr",3%,I F(C19="4yr",4%,IF(C19="5yr",5%,"")))))
  #2   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default HELP...on my IF formula

Do you need the IF?

=C19*0.01 will give %

Or if C19="1yr"

then =LEFT(C19,1)*0.01

"Kim" wrote:

Hi - I'm trying to figure out a problem I'm having with my IF formula. See
below, I had to add "yr" after my numbers or else it came up blank. I want to
be able to put in just the number 1, 2, 3, 4 or 5 with out the yr behind it
and figure out my percent. Can someone please help me? Thanks in advance!

=IF(C19="1yr",1%,IF(C19="2yr",2%,IF(C19="3yr",3%,I F(C19="4yr",4%,IF(C19="5yr",5%,"")))))

  #3   Report Post  
Posted to microsoft.public.excel.misc
Marcelo
 
Posts: n/a
Default HELP...on my IF formula

Hi Kim,

format c19 as custom like 0 "yr"

you will have C19 value like 1 yr but the value will be 1, so you could type
your formula without the yr.

hth
regards from Brazil
Marcelo

"Kim" escreveu:

Hi - I'm trying to figure out a problem I'm having with my IF formula. See
below, I had to add "yr" after my numbers or else it came up blank. I want to
be able to put in just the number 1, 2, 3, 4 or 5 with out the yr behind it
and figure out my percent. Can someone please help me? Thanks in advance!

=IF(C19="1yr",1%,IF(C19="2yr",2%,IF(C19="3yr",3%,I F(C19="4yr",4%,IF(C19="5yr",5%,"")))))

  #4   Report Post  
Posted to microsoft.public.excel.misc
Franz Verga
 
Posts: n/a
Default HELP...on my IF formula

Kim wrote:
Hi - I'm trying to figure out a problem I'm having with my IF
formula. See below, I had to add "yr" after my numbers or else it
came up blank. I want to be able to put in just the number 1, 2, 3, 4
or 5 with out the yr behind it and figure out my percent. Can someone
please help me? Thanks in advance!

=IF(C19="1yr",1%,IF(C19="2yr",2%,IF(C19="3yr",3%,I F(C19="4yr",4%,IF(C19="5yr",5%,"")))))


Hi Kim,

You can try this way:

=IF(ISNA(VLOOKUP(VALUE(LEFT(C19,1)),{1,0.01;2,0.02 ;3,0.03;4,0.04;5,0.05},2,0)),"",VLOOKUP(VALUE(LEFT (C19,1)),{1,0.01;2,0.02;3,0.03;4,0.04;5,0.05},2,0) )


--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


  #5   Report Post  
Posted to microsoft.public.excel.misc
L. Howard Kittle
 
Posts: n/a
Default HELP...on my IF formula

If I understand correctly, try this. You may have had the 1, 2, 3...etc. in
quotes.

=IF(C19=1,1%,IF(C19=2,2%,IF(C19=3,3%,IF(C19=4,4%,I F(C19=5,5%,"")))))

HTH
Regards,
Howard

"Kim" wrote in message
...
Hi - I'm trying to figure out a problem I'm having with my IF formula. See
below, I had to add "yr" after my numbers or else it came up blank. I want
to
be able to put in just the number 1, 2, 3, 4 or 5 with out the yr behind
it
and figure out my percent. Can someone please help me? Thanks in advance!

=IF(C19="1yr",1%,IF(C19="2yr",2%,IF(C19="3yr",3%,I F(C19="4yr",4%,IF(C19="5yr",5%,"")))))



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
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
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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