Easy for anyone but me...

elvmeister

New Member
Joined
Jun 8, 2013
Messages
18
Hi, thanks for reading this and replying if you do.

I have a stock sheet at work that I use daily, I need it to 're-age stock' for month end allowing me to revalue it and put a monetary provision aside against a changing stock value.
My stock list doesn't take VAT in to account on vat qualifying stock but I have to revalue using the value plus vat. The lined boxes at end are mine. I am using the formula -
=IF(M3="y",K3,SUM(K3*1.2))
the sum will work once seems to be sensitive to caps on Y or N. all want is if says N the original figure I its says Y total siv line plus 20%.


NoReg NoDescriptionColourMileage Date RegPch PrReconSIVTotal SIVPriceVATDISmth endcap clean
39931Eclipse Bl5383608/09/20106000772.9460006772.947000n1441596772.945725
65906Blue1011927/03/2013112252129354.179566.1710000 Y11913411479.411250
65761WHITE824726/09/201312500160.121250012660.1211000 N11613115192.144975
66111Black1533426/07/20124600321.83833.334155.136000 Y1101254986.1564900
66221Silver1150730/12/20114416.67278.464416.674695.135890 Y1071225634.15627350
60490Decuma Gre425030/09/201311552.5259.1111552.511811.6110408.33 Y10712214173.93
14550
66550Silver1460030/12/20115225203.464354.174557.636000 Y881035469.1565725
26087Decuma Gre5249129/04/2011295001044.972950030544.9729990 N8810336653.9613850
30308Pure White1896403/09/20128000586.7780008586.779695 N779210304.12
40182Island Blu2829219/11/20105000525.7250005525.726495 N70856630.86419800
58886BU63LCJVerso Icon 1.8 MultiTyrol Silv270030/09/201313922.04013922.0413922.0417790 Y6075

<colgroup><col width="47" style="width: 35pt; mso-width-source: userset; mso-width-alt: 1718;"><colgroup><col width="83" style="width: 62pt; mso-width-source: userset; mso-width-alt: 3035;"><colgroup><col width="171" style="width: 128pt; mso-width-source: userset; mso-width-alt: 6253;"><colgroup><col width="90" style="width: 68pt; mso-width-source: userset; mso-width-alt: 3291;"><colgroup><col width="55" style="width: 41pt; mso-width-source: userset; mso-width-alt: 2011;"><colgroup><col width="85" style="width: 64pt; mso-width-source: userset; mso-width-alt: 3108;"><colgroup><col width="71" style="width: 53pt; mso-width-source: userset; mso-width-alt: 2596;"><colgroup><col width="55" style="width: 41pt; mso-width-source: userset; mso-width-alt: 2011;"><colgroup><col width="71" style="width: 53pt; mso-width-source: userset; mso-width-alt: 2596;" span="3"><colgroup><col width="48" style="width: 36pt; mso-width-source: userset; mso-width-alt: 1755;"><colgroup><col width="43" style="width: 32pt; mso-width-source: userset; mso-width-alt: 1572;"><colgroup><col width="75" style="width: 56pt; mso-width-source: userset; mso-width-alt: 2742;" span="2"><colgroup><col width="71" style="width: 53pt; mso-width-source: userset; mso-width-alt: 2596;"><tbody>
</tbody>
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
What column in your sample is your formula in.
My best guess is your table starts in B2 to match up with your formula.

No need for SUM, you are not summing anything, but this should be all you need:
=IF(M3="Y",K3,K3*1.2)
 
Upvote 0
Hi thanks for that,well worked out off my poor example. That works , the only thing Icant do now is copy the formula down ,it stops working. However if I change the "Y" to lower case it picksthe sumu again. Also if I change the Y in the column that also makes it work. I think Ill be carrying on long hand lol.
 
Upvote 0
What exactly do you mean by "stops working"? Do you get an error what?
 
Upvote 0
The formula doesn't work. It doesn't recognise the letter Y in column L, so the sum shows the original figure rather than the figure plus vat that I am trying to achieve. If I then overtype the letter in the sheet,its copied in, the sum works. Its as is the format of the information pasted in isn't recognised.
 
Upvote 0
I would then assume that there is something in the cell besides a capital Y, not that it isn't working.

I would suspect a space or a non-breaking space.

For one of these cells that isn't working, put a formula like this:
=LEN(M3)
but change the cell reference to whatever you need. What does it return?

What do the following return?

=LEN(TRIM(M3))

and

=SUBSTITUTE(M3,CHAR(160),"A")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,374
Messages
6,119,155
Members
448,870
Latest member
max_pedreira

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