Getting value with double decimals

gillani77

New Member
Joined
Apr 19, 2014
Messages
18
Hi All,
I am trying to write a Nested If the formula for more than 7 arguments. Below is my formula and answer received.

[TABLE="width: 218"]
<tbody>[TR]
[TD="class: xl67, width: 218"]IF(H42<=J38,J39,IF(H42<=K38,K39,IF(H42<=L38,L39,IF(H42<=M38,M39,IF(H42<=N38,N39,IF(H42<=O38,O39,IF(H42<=P38,P39,0)))))))&IF(H42<=Q38,Q39,IF(H42<=R38,R39,IF(H42<=S38,S39,IF(H42<=K40,K41,IF(H42<=L40,L41,IF(H42<=M40,M41,IF(H42<=N40,N41,0))))))&IF(H42<=O40,O41,IF(H42<=P40,P41,IF(H42<=Q40,Q41,IF(H42>=R40,R41,0)))))[/TD]
[/TR]
</tbody>[/TABLE]
Answer: 6499.49
As you can see i have two decimalsat two diferent places. This does not allow me to use this value in another formula. CAn someone help me in fixing up my IF formula please.
****** id="cke_pastebin" style="position: absolute; top: 72.8px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">[TABLE="width: 113"]
<tbody>[TR]
[TD="class: xl70, width: 113"]6.499.49[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 113"]
<tbody>[TR]
[TD="class: xl70, width: 113"]6.499.49[/TD]
[/TR]
</tbody>[/TABLE]
</body>
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
What is in the cells? when you join using the & all it does is put the two values together. so 2.3 and 7.6 joined become 2.37.6


Excel 2010
E
72.3
87.6
9
102.37.6
Sheet1
Cell Formulas
RangeFormula
E10=E7&E8
 
Upvote 0
Cross posted
https://www.excelforum.com/excel-ge...-decimal-at-different-places.html#post4860503
https://www.excelguru.ca/forums/sho...ng-Value-with-Two-Decimal-at-different-places

Cross-Posting
While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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