Share via

Excel Formula help please

Anonymous
2024-08-14T14:57:41+00:00

Below is a copy of a spreadsheet I am working on.

I need column E to read zero until a figure is put into the quantity.

The current formula in E is =SUM(G7*SUM(D7/(1-$L$4%))+E7) which when you put the figure in the quantity does calculate correctly, but I just don't want a figure in the final column until requested by the quantity.

Hope that makes sense, probably really simple

Thanks

Supplier Cost Sell Install Cost QUANTITY TOTAL COST SELL
£40.42 £196.88 £0.00 £196.88
£145.84 £196.88 £0.00 £196.88
£137.09 £196.88 £0.00 £196.88
£132.09 £196.88 £0.00 £196.88
Supplier Cost Sell Install Cost QUANTITY TOTAL COST SELL
£40.42 £196.88 1 £237.30 £297.93
£145.84 £196.88 1 £342.72 £561.48
£137.09 £196.88 1 £333.97 £539.61
£132.09 £196.88 1 £328.97 £527.11
Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. Anonymous
    2024-08-14T16:05:54+00:00

    Thank you

    That worked perfectly

    Was this answer helpful?

    0 comments No comments
  2. Rory Archibald 18,965 Reputation points Volunteer Moderator
    2024-08-14T15:52:52+00:00

    Amend Hans' formula to:

    =IF(G7="",0,G7*D7/(1-$L$4%)+E7)

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-08-14T15:44:23+00:00

    Thanks you.

    Sorry for being so confusing

    so lets rename the columns to

    D, E, G, H, I

    The reference to column L in the formula relates to a changeable figure

    D E G H I
    Supplier Cost Sell Install Cost QUANTITY TOTAL COST SELL
    £40.42 £196.88 £0.00 £196.88
    £145.84 £196.88 £0.00 £196.88
    £137.09 £196.88 £0.00 £196.88
    £132.09 £196.88 £0.00 £196.88

    Was this answer helpful?

    0 comments No comments
  4. HansV 462.6K Reputation points
    2024-08-14T15:33:23+00:00

    You don't need SUM. The formula can be simplified to

    =G7*D7/(1-$L$4%)+E7

    But a formula in E7 cannot refer to E7 itself, so I don't understand what you're doing.

    Was this answer helpful?

    0 comments No comments