Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-17-2015, 07:13 AM
lynchbro lynchbro is offline IF OR Statement for Adjusted Book & Market Values Windows 7 64bit IF OR Statement for Adjusted Book & Market Values Office 2010 32bit
Advanced Beginner
IF OR Statement for Adjusted Book & Market Values
 
Join Date: Jun 2014
Location: New York
Posts: 41
lynchbro is on a distinguished road
Default IF OR Statement for Adjusted Book & Market Values

I am using an IF OR statement to create an adjusted book value of a holdings report. Due to system output of the original holdings, there are rounding in the market value & unrealized gain loss calculations. I will need to use excel to create an adjusted holdings but using the unrounded versions for cost, market value & unrealized.

My formula is:
=IF(OR(N2=0,P2=0),I2,I2+O2-Q2)

N2 is new purchase quantity
P2 is new sale quantity
I2 is original book value
O2 is new purchase book value
Q2 is new sale book value

The way the formula is written above it is only calculating correctly if there is both new purchase & sale quantity >0. I need it to be one or both >0.

Then the same goes for the adjusted market value column:
=IF(OR(N2=0,P2=0),J2,H2*N2-H2*P2+J2)

N2 is new purchase quantity
P2 is new sale quantity
J2 is original market value
H2 is current day price

Again the way the formula is written above it is only calculating correctly if there is both new purchase & sale quantity >0. I need it to be one or both >0.

If needed I can attach an example sheet to better illustrate.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where Can I Download Free Go To Market Plan PPT? Davidsmith2 PowerPoint 2 09-27-2015 09:50 PM
Add a statement sma Word 6 03-23-2014 10:30 AM
Page layout can't be adjusted geaker Word 0 10-12-2010 07:46 AM
IF OR Statement for Adjusted Book & Market Values if statement piper7971 PowerPoint 1 08-19-2010 07:10 AM
IF OR Statement for Adjusted Book & Market Values Help with IF statement! CPelkey Word 1 04-12-2010 09:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:07 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft