Excel formula error (not working )

umeshece

New Member
Joined
Nov 5, 2019
Messages
3
Hi sir ,
=IF(L8>O8,"BUY",IF(B8>O8,"BUY-F",""))
in the above formula the data in cell no L8 & B8 are Real time data and in O8 Predefined data ,
if when L8 B8 & O8 cells are Real time data then above function is correctly working but when we want to use O8 CELL as predefined value then above function is not working
pls advice to solve this issue
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Hi, welcome to the board.

Please give examples of dates for L8, B8 and O8 where the function works correctly, and ALSO give examples of dates where the function does not work correctly.
ALSO, when you say the function is not working, please explain what exactly you mean - what result is given ?
ALSO, please explain what you mean by "predefined value".
 
Upvote 0
Hi, welcome to the board.

Please give examples of dates for L8, B8 and O8 where the function works correctly, and ALSO give examples of dates where the function does not work correctly.
ALSO, when you say the function is not working, please explain what exactly you mean - what result is given ?
ALSO, please explain what you mean by "predefined value".

L8B8O8P8R8
89859575BUY

<tbody>
</tbody>
My scenario is simple i want to display text in cell R8 when L8>O8,"BUY",B8>O8,"BUY-F",L8< P8."SELL",B8< P8,"SELL-F".
For this i used function ie =IF(L8>O8,"BUY",IF(B8>O8,"BUY-F",IF(L8< P8."SELL",IF(B8< P8,"SELL-F","")))), Datas in cell L8 & B8,are real time data and in cell O8 &P8 are predefined data (manually feeded or fixed data) when i execute above function it is diplaying "BUY" instead of blank bcz in L8 is less than O8, but this function is works correctly only when if all cells are have real time data or predefined data,
 
Last edited by a moderator:
Upvote 0

Forum statistics

Threads
1,214,814
Messages
6,121,711
Members
449,049
Latest member
THMarana

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top