Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Help on IF(OR) Function

I need return value in cell (D4) ....IF(OR) one
or both cells have the numbers, for example.

I am trying to do in cell D4 is.....
=IF(OR(D21,I21), D21*1000/L3, I21*1000/L3)

it returns correct value from cell D21, but from cell I21..
won't show up! and when both cells (D21 & I21) are
empty, the result cell (D4) shows " #VALUE! "

Please help, how do I solve this?

Thanks.
Mukesh

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 102
Default Help on IF(OR) Function

On Jun 14, 2:05*am, Mukesh wrote:
I need return value in cell (D4) ....IF(OR) one
or both cells have the numbers, for example.

I am trying to do in cell D4 is.....
=IF(OR(D21,I21), D21*1000/L3, I21*1000/L3)


I am not sure what you want the formula to return...
If both D21 and I21 have values, which do you want to display
I think you are using the wrong functions, but not sure as I dont
understand the application you are trying to acieve...
please elaborate...

As for the #Value thing, I can fix that but not sure what you need
first


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 207
Default Help on IF(OR) Function

Mukesh,
If I understand your problem....
If there is a value in D21, multiply it by 1000 and divide that by the value
in L3.
If there is not a value in D21 and there is in I21, then multiply I21 by
1000 and divide it by the value in L3.
To accomplish the above:
"=IF(D210,D21*1000/L3,I21*1000/L3)"

The issue with "#VLAUE" is excel does not like to divide by zero.

HTH
:-)

"Mukesh" wrote:

I need return value in cell (D4) ....IF(OR) one
or both cells have the numbers, for example.

I am trying to do in cell D4 is.....
=IF(OR(D21,I21), D21*1000/L3, I21*1000/L3)

it returns correct value from cell D21, but from cell I21..
won't show up! and when both cells (D21 & I21) are
empty, the result cell (D4) shows " #VALUE! "

Please help, how do I solve this?

Thanks.
Mukesh

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Help on IF(OR) Function

Thanks....this worked!


"FloMM2" wrote:

Mukesh,
If I understand your problem....
If there is a value in D21, multiply it by 1000 and divide that by the value
in L3.
If there is not a value in D21 and there is in I21, then multiply I21 by
1000 and divide it by the value in L3.
To accomplish the above:
"=IF(D210,D21*1000/L3,I21*1000/L3)"

The issue with "#VLAUE" is excel does not like to divide by zero.

HTH
:-)

"Mukesh" wrote:

I need return value in cell (D4) ....IF(OR) one
or both cells have the numbers, for example.

I am trying to do in cell D4 is.....
=IF(OR(D21,I21), D21*1000/L3, I21*1000/L3)

it returns correct value from cell D21, but from cell I21..
won't show up! and when both cells (D21 & I21) are
empty, the result cell (D4) shows " #VALUE! "

Please help, how do I solve this?

Thanks.
Mukesh

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 207
Default Help on IF(OR) Function

Thanks for the feedback. Glad I could help.

"Mukesh" wrote:

Thanks....this worked!


"FloMM2" wrote:

Mukesh,
If I understand your problem....
If there is a value in D21, multiply it by 1000 and divide that by the value
in L3.
If there is not a value in D21 and there is in I21, then multiply I21 by
1000 and divide it by the value in L3.
To accomplish the above:
"=IF(D210,D21*1000/L3,I21*1000/L3)"

The issue with "#VLAUE" is excel does not like to divide by zero.

HTH
:-)

"Mukesh" wrote:

I need return value in cell (D4) ....IF(OR) one
or both cells have the numbers, for example.

I am trying to do in cell D4 is.....
=IF(OR(D21,I21), D21*1000/L3, I21*1000/L3)

it returns correct value from cell D21, but from cell I21..
won't show up! and when both cells (D21 & I21) are
empty, the result cell (D4) shows " #VALUE! "

Please help, how do I solve this?

Thanks.
Mukesh



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Help on IF(OR) Function

Can someone please help me with this now....

I am trying to get result in cell L21
=IF(E21="abc",D21*D4/100," "), IF(J21="abc",I21*D4/100," ")
I am getting " #VALUE" error.

I even tried...
=IF(OR(E21,J21="abc"), D4*D21, D4*I21)
but doesn't work !.....what wrong am I doing.

Thanks in advance.

Mukesh




"Sandy Mann" wrote:

The issue with "#VLAUE" is excel does not like to divide by zero.


Actually it is the OR(D21,I21) that is returning the #VALUE! error. If you
change that to OR(D21<"",I21<"") then the divisions return #DIV/0! errors
as you would expect.

--
Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"FloMM2" wrote in message
...
Mukesh,
If I understand your problem....
If there is a value in D21, multiply it by 1000 and divide that by the
value
in L3.
If there is not a value in D21 and there is in I21, then multiply I21 by
1000 and divide it by the value in L3.
To accomplish the above:
"=IF(D210,D21*1000/L3,I21*1000/L3)"

The issue with "#VLAUE" is excel does not like to divide by zero.

HTH
:-)

"Mukesh" wrote:

I need return value in cell (D4) ....IF(OR) one
or both cells have the numbers, for example.

I am trying to do in cell D4 is.....
=IF(OR(D21,I21), D21*1000/L3, I21*1000/L3)

it returns correct value from cell D21, but from cell I21..
won't show up! and when both cells (D21 & I21) are
empty, the result cell (D4) shows " #VALUE! "

Please help, how do I solve this?

Thanks.
Mukesh





  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default Help on IF(OR) Function

=IF(E21="abc",D21*D4/100, IF(J21="abc",I21*D4/100,""))

Make the FALSE part of =IF(E21="abc", the second IF

Note that I used an empty string , ("") for the second FALSE not a space ("
")

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Mukesh" wrote in message
...
Can someone please help me with this now....

I am trying to get result in cell L21
=IF(E21="abc",D21*D4/100," "), IF(J21="abc",I21*D4/100," ")
I am getting " #VALUE" error.

I even tried...
=IF(OR(E21,J21="abc"), D4*D21, D4*I21)
but doesn't work !.....what wrong am I doing.

Thanks in advance.

Mukesh




"Sandy Mann" wrote:

The issue with "#VLAUE" is excel does not like to divide by zero.


Actually it is the OR(D21,I21) that is returning the #VALUE! error. If
you
change that to OR(D21<"",I21<"") then the divisions return #DIV/0!
errors
as you would expect.

--
Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"FloMM2" wrote in message
...
Mukesh,
If I understand your problem....
If there is a value in D21, multiply it by 1000 and divide that by the
value
in L3.
If there is not a value in D21 and there is in I21, then multiply I21
by
1000 and divide it by the value in L3.
To accomplish the above:
"=IF(D210,D21*1000/L3,I21*1000/L3)"

The issue with "#VLAUE" is excel does not like to divide by zero.

HTH
:-)

"Mukesh" wrote:

I need return value in cell (D4) ....IF(OR) one
or both cells have the numbers, for example.

I am trying to do in cell D4 is.....
=IF(OR(D21,I21), D21*1000/L3, I21*1000/L3)

it returns correct value from cell D21, but from cell I21..
won't show up! and when both cells (D21 & I21) are
empty, the result cell (D4) shows " #VALUE! "

Please help, how do I solve this?

Thanks.
Mukesh








  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default Help on IF(OR) Function

I should have checked where the split would be:

Note that I used an empty string , ("") for the second FALSE not a space ("
")



--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Sandy Mann" wrote in message
...
=IF(E21="abc",D21*D4/100, IF(J21="abc",I21*D4/100,""))

Make the FALSE part of =IF(E21="abc", the second IF

Note that I used an empty string , ("") for the second FALSE not a space
(" ")

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Mukesh" wrote in message
...
Can someone please help me with this now....

I am trying to get result in cell L21
=IF(E21="abc",D21*D4/100," "), IF(J21="abc",I21*D4/100," ")
I am getting " #VALUE" error.

I even tried...
=IF(OR(E21,J21="abc"), D4*D21, D4*I21)
but doesn't work !.....what wrong am I doing.

Thanks in advance.

Mukesh




"Sandy Mann" wrote:

The issue with "#VLAUE" is excel does not like to divide by zero.

Actually it is the OR(D21,I21) that is returning the #VALUE! error. If
you
change that to OR(D21<"",I21<"") then the divisions return #DIV/0!
errors
as you would expect.

--
Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"FloMM2" wrote in message
...
Mukesh,
If I understand your problem....
If there is a value in D21, multiply it by 1000 and divide that by the
value
in L3.
If there is not a value in D21 and there is in I21, then multiply I21
by
1000 and divide it by the value in L3.
To accomplish the above:
"=IF(D210,D21*1000/L3,I21*1000/L3)"

The issue with "#VLAUE" is excel does not like to divide by zero.

HTH
:-)

"Mukesh" wrote:

I need return value in cell (D4) ....IF(OR) one
or both cells have the numbers, for example.

I am trying to do in cell D4 is.....
=IF(OR(D21,I21), D21*1000/L3, I21*1000/L3)

it returns correct value from cell D21, but from cell I21..
won't show up! and when both cells (D21 & I21) are
empty, the result cell (D4) shows " #VALUE! "

Please help, how do I solve this?

Thanks.
Mukesh











  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Help on IF(OR) Function

Thank you sooooo much, it worked.
I tried putting a space (" ") instead of empty string ("") and that worked too
and when I remove both (the empty space & string, I get an output FALSE,
which ofcourse I don't want, was just testing to see what result I get.

Thank you.......you guys rock.

Mukesh



"Sandy Mann" wrote:

I should have checked where the split would be:

Note that I used an empty string , ("") for the second FALSE not a space ("
")



--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Sandy Mann" wrote in message
...
=IF(E21="abc",D21*D4/100, IF(J21="abc",I21*D4/100,""))

Make the FALSE part of =IF(E21="abc", the second IF

Note that I used an empty string , ("") for the second FALSE not a space
(" ")

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Mukesh" wrote in message
...
Can someone please help me with this now....

I am trying to get result in cell L21
=IF(E21="abc",D21*D4/100," "), IF(J21="abc",I21*D4/100," ")
I am getting " #VALUE" error.

I even tried...
=IF(OR(E21,J21="abc"), D4*D21, D4*I21)
but doesn't work !.....what wrong am I doing.

Thanks in advance.

Mukesh




"Sandy Mann" wrote:

The issue with "#VLAUE" is excel does not like to divide by zero.

Actually it is the OR(D21,I21) that is returning the #VALUE! error. If
you
change that to OR(D21<"",I21<"") then the divisions return #DIV/0!
errors
as you would expect.

--
Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"FloMM2" wrote in message
...
Mukesh,
If I understand your problem....
If there is a value in D21, multiply it by 1000 and divide that by the
value
in L3.
If there is not a value in D21 and there is in I21, then multiply I21
by
1000 and divide it by the value in L3.
To accomplish the above:
"=IF(D210,D21*1000/L3,I21*1000/L3)"

The issue with "#VLAUE" is excel does not like to divide by zero.

HTH
:-)

"Mukesh" wrote:

I need return value in cell (D4) ....IF(OR) one
or both cells have the numbers, for example.

I am trying to do in cell D4 is.....
=IF(OR(D21,I21), D21*1000/L3, I21*1000/L3)

it returns correct value from cell D21, but from cell I21..
won't show up! and when both cells (D21 & I21) are
empty, the result cell (D4) shows " #VALUE! "

Please help, how do I solve this?

Thanks.
Mukesh












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
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM
Nested IF Function, Date Comparing, and NetworkDays Function carl Excel Worksheet Functions 2 December 29th 04 09:57 PM


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