• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Calculations based on (and if) data exists in other cells|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Calculations based on (and if) data exists in other cells|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Calculations based on (and if) data…
sp_PrintTopic sp_TopicIcon
Calculations based on (and if) data exists in other cells
Avatar
J C

New Member
Members
Level 0
Forum Posts: 1
Member Since:
August 18, 2022
sp_UserOfflineSmall Offline
1
August 18, 2022 - 9:17 am
sp_Permalink sp_Print

Hi,

Can anyone tell me if the following functionality is possible, please?

I have four columns: 'Retail Inc VAT' 'Retail Exc VAT' 'Margin' 'Cost'

e.g.

Line 1 = 'Retail Inc VAT' & 'Margin' are known and entered - 'Retail Exc VAT' & 'Cost' are auto populated

Line 2 = 'Cost' & 'Margin' are known and entered - 'Retail Exc VAT' & 'Retail Inc VAT' are auto populated

Line 3 = 'Cost' & 'Retail Exc VAT' are known and entered - 'Retail Inc VAT' & 'Margin' are auto populated

etc etc

 

Does that make sense and is it possible using one formula?

Usage is on a pricing document I am making - This particular formula will be on the 'ProductDB' sheet and will include lots of other data about the item.
Our pricing comes from multiple sources, and in various forms, so it would help streamline updates if we could just enter what we know; instead of having to run through a calculator, or side formula first.

 

Thank you in advance for any help.

JC

Avatar
Riny van Eekelen
Örnsköldsvik, Sweden
Moderator
Members


Trusted Members

Moderators

Power BI
Level 0
Forum Posts: 440
Member Since:
January 31, 2022
sp_UserOfflineSmall Offline
2
August 18, 2022 - 8:10 pm
sp_Permalink sp_Print sp_EditHistory

Hi,

Could you attach a workbook containing what you have and what end result is needed. It's difficult to visualize what you are trying to achieve based on a textual description only.

R

Avatar
Jessica Stewart
Northern USA
Member
Members


Trusted Members
Level 0
Forum Posts: 202
Member Since:
February 13, 2021
sp_UserOfflineSmall Offline
3
August 19, 2022 - 12:13 am
sp_Permalink sp_Print

Hi J C,

You could use helper columns, entering what you know in those cells then in your main area you can do an if formula. IF(HelperCell<>"",HelperCell,'YourFormula'). If that doesn't work then as Riny said, please upload a sample file to help us help you.

Avatar
Jason Copeland

New Member
Members
Level 0
Forum Posts: 1
Member Since:
July 25, 2022
sp_UserOfflineSmall Offline
4
August 24, 2022 - 12:15 am
sp_Permalink sp_Print

Hi Both,

Thanks for the replies - Ive attached a small sample of the ProductDB sheet which contains the relevant cells (Ive randomised the values to protect commercial data etc)  There are a few things I’d like to get this sheet doing, but for the moment the priority is streamlining data entry for columns F to I.

The only formula currently in those columns is in Margin =(Retail_Exc - Cost) / Retail_Exc (It also has some conditional Formatting to provide a quick visual reference for products/margin we need to reconsider.

As mentioned in the post above, our suppliers (manufacturers & distributors) send pricing data in, at least, three different formats.

Retail price inc. VAT
Retail price excl. VAT
Cost price excl. VAT

I’d like to be able to enter data in any two of the four cells/columns and have it calculate the missing data for the remaining two

e.g. 1 - Line item 6

NAD send us the Retail_Inc (F6) and Cost (I6) figures
Someone enters those on the sheet and a formula calculates, and enters, data for cells G6 (Retail_Exc) and H6 (Margin)

e.g. 2 - Line item 10

Audioquest send us the Retail_Exc (G10) and Cost (I10) figures
Someone enters those on the sheet and a formula calculates, and enters, data for cells F10 (Retail_Inc) and H10 (Margin)

e.g. 3 - Line item 29

CCTV Company send us the Retail_Exc (G29) and margin/discount (H29) figures
Someone enters those on the sheet and a formula calculates, and enters, data for cells F29 (Retail_Inc) and I29 (Cost)

Of the four columns, Retail_Inc is only used for data entry (we don’t ever send a quote/proposal using inc. VAT pricing) so we could, if it helps, eliminate that from any reverse calculations etc.

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Jack Brett, Ben Hughes
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Hayden Hao
Angela chen
Sean Moore
John Chisholm
vexokeb sdfg
John Jack
Malcolm Toy
Ray-Yu Yang
George Shihadeh
Naomi Rumble
Forum Stats:
Groups: 3
Forums: 24
Topics: 6211
Posts: 27238

 

Member Stats:
Guest Posters: 49
Members: 31891
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.