Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default IF-then formula doesn't work

I can't figure this one out...

=IF(M160,INDIRECT("V"&SUM(O2+1),0))

the INDIRECT("V"&SUM(O2+1) aspect worked fine, but I only wanted that value
to show so I added the IF aspect... I keep getting errors in the value
--
I didn''''t go bald because of genetics, I''''m pulling them out one at a
time!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default IF-then formula doesn't work

You put a bracket in wrong place
here is the correction:

=IF(M160,INDIRECT("V"&SUM(O2+1)),0)



"pegman" wrote:

I can't figure this one out...

=IF(M160,INDIRECT("V"&SUM(O2+1),0))

the INDIRECT("V"&SUM(O2+1) aspect worked fine, but I only wanted that value
to show so I added the IF aspect... I keep getting errors in the value
--
I didn''''t go bald because of genetics, I''''m pulling them out one at a
time!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default IF-then formula doesn't work

=IF(M160,INDIRECT("V"&SUM(O2+1)),0)


--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"pegman" wrote in message
...
I can't figure this one out...

=IF(M160,INDIRECT("V"&SUM(O2+1),0))

the INDIRECT("V"&SUM(O2+1) aspect worked fine, but I only wanted that
value
to show so I added the IF aspect... I keep getting errors in the value
--
I didn''''t go bald because of genetics, I''''m pulling them out one at a
time!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default IF-then formula doesn't work

Thanks guys, everything works beuatiful now...

I need to figure how to protect these worksheets NOW...!!!!
--
I didn''''t go bald because of genetics, I''''m pulling them out one at a
time!


"pegman" wrote:

I can't figure this one out...

=IF(M160,INDIRECT("V"&SUM(O2+1),0))

the INDIRECT("V"&SUM(O2+1) aspect worked fine, but I only wanted that value
to show so I added the IF aspect... I keep getting errors in the value
--
I didn''''t go bald because of genetics, I''''m pulling them out one at a
time!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default IF-then formula doesn't work

And you don't need the SUM as well as the + sign.
=IF(M160,INDIRECT("V"&(O2+1)),0)
--
David Biddulph

"Teethless mama" wrote in message
...
You put a bracket in wrong place
here is the correction:

=IF(M160,INDIRECT("V"&SUM(O2+1)),0)



"pegman" wrote:

I can't figure this one out...

=IF(M160,INDIRECT("V"&SUM(O2+1),0))

the INDIRECT("V"&SUM(O2+1) aspect worked fine, but I only wanted that
value
to show so I added the IF aspect... I keep getting errors in the value
--
I didn''''t go bald because of genetics, I''''m pulling them out one at a
time!





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default IF-then formula doesn't work

ToolsProtectionProtect Worksheet is the norm.


Gord Dibben MS Excel MVP

On Sat, 5 Jan 2008 10:08:00 -0800, pegman
wrote:

Thanks guys, everything works beuatiful now...

I need to figure how to protect these worksheets NOW...!!!!


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default IF-then formula doesn't work

The reason you got an error is because as written:

=IF(M160,INDIRECT("V"&SUM(O2+1),0))

Your formula is using the 0 in INDIRECT to denote that you're using R1C1
reference style.

So, Vn is not a legitimate R1C1 reference so you get the error.

--
Biff
Microsoft Excel MVP


"Teethless mama" wrote in message
...
You put a bracket in wrong place
here is the correction:

=IF(M160,INDIRECT("V"&SUM(O2+1)),0)



"pegman" wrote:

I can't figure this one out...

=IF(M160,INDIRECT("V"&SUM(O2+1),0))

the INDIRECT("V"&SUM(O2+1) aspect worked fine, but I only wanted that
value
to show so I added the IF aspect... I keep getting errors in the value
--
I didn''''t go bald because of genetics, I''''m pulling them out one at a
time!



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
Why does this formula not work? DaveMoore Excel Worksheet Functions 4 February 27th 07 10:02 AM
Why does this Formula work? Kevin Vaughn Excel Worksheet Functions 3 April 7th 06 09:21 PM
A search for $ in a formula use to work now it does not work JuneJuly Excel Discussion (Misc queries) 2 November 30th 05 10:13 PM
How do I get this formula to work? mystical_ways Excel Discussion (Misc queries) 0 August 23rd 05 07:16 PM
formula doesn't work JJ Excel Discussion (Misc queries) 4 August 2nd 05 10:05 PM


All times are GMT +1. The time now is 05:46 PM.

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"