How to change Currency INR to $ In Squareup POS? - customization

By default my currency display as INR (Indian Rupee) in SquareUp POS. How can I change INR to USD?

For the time being, the country of your account will determine the currency symbol and currency formatting of your Square Point of Sale app. I’ll pass your request to our product team for consideration as Square works to develop new features.
As an interim, you can create a Square account in the country of that currency to accept payments for that currency. So to be able to accept payments in $, you will need to create a United States Square account which requires a Social Security Number.

Related

Merging queries on product number AND on date

For a report on bakery product performance I am trying to match the purchase price with the selling price in order to get to a product margin. The purchase price sits in a separate table and so does the selling price. Both tables contain product numbers so I am able to merge the two queries in order to get both selling price and purchase price on one line in order to compute a product margin.
The difficulty however is the fact that the selling prices and purchase prices are very subjective to change. Each line in both tables has a date field that is changing often. Therefore I would like to merge the queries in such a way that the selling price of a given product is corresponding to the purchase price of the same product, but also make sure that the date of the selling price and purchase price align.
How would I go about and do this?
Tables would look like this:
DATE - SHOP - PRODUCTNR - QUANTITY SOLD - TOTAL SALES - SELLING PRICE PER PRODUCT
DATE - PRODUCTNR - PURCHASE PRICE PER PRODUCT
You need to add a new column consisting of the [PRODUCTNR] and [DATE] fields. You can use a simple concatenate operation to achieve this:
For Example:
Let's say you have such a table:
Then you need to create a new column called [CompositeKey] in the table:
CompositeKey =
[DATE] & "-" & [PRODUCTNR]
Resulting Table:
Note: I used (-) character to separate columns. You can use any others, like pipe(|), underscore(_) etc...
Now you need to do the same for your 2nd table, and create a relationship between your [CompositeKey] columns on both tables. Now It will adapt to changing dates, and you will know which is which... I hope It solves your problem.

How can I increment repeated values in Google Sheets?

I have a sales forecast spreadsheet, which I'm looking to generate cash flow data off of.
My sales forecast looks like so
Base Revenue | Contract Date | Years Subscribed
€45,000 | 30/06/2020 | 3
Is there a way to return the future payment dates based on the contract date and years subscribed. Payments would occur on the contract date and every year thereafter for the duration of the contract.
Taking the example, we would want to see
Payment Date
30/06/2020
30/06/2021
30/06/2022
I have been able to get repeated values into an array using the following formula:
=TRANSPOSE(SPLIT(JOIN(",", ARRAYFORMULA(REPT(B2:B100 & ",",$C2:$C100))), ","))
In this case, it repeats the original contract date. I need to further increment that date.
The preference would be to have a single formula, rather than repeating per row since I cannot control what users will input into this.
try:
=ARRAYFORMULA(REGEXEXTRACT(TO_TEXT(B2), "(.*/)")&
ROW(INDIRECT("B"&YEAR(B2)&":B"&YEAR(B2)+C2-1)))

How to only match once?

My regex pattern looks something like
•$389 PER MONTH FOR 36 months $4,314 DUE AT SIGNING SUGGESTED DEALER
CONTRIBUTION OF $1,385 Offer not valid in Puerto Rico. Lease financing
available on new 2017 BMW 330i xDrive Sports Wagon models from
participating BMW Centers through BMW Financial Services through
January 02, 2018, to eligible, qualified customers with excellent
credit history who meet BMW Financial Services' credit requirements.
Monthly lease payments of $389 per month for 36 months is based on an
adjusted capitalized cost of $38,210 (MSRP of $45,595, including
destination and handling fee of $995, less $3,000 customer down, $0
security deposit and suggested dealer contribution of $1,385 and
$3,000 Holiday Lease Credit). Actual MSRP may vary. Dealer
contribution may vary and could affect your actual monthly lease
payment. Cash due at signing includes $3,000 down payment, $389 first
month's payment, $925 acquisition fee and $0 security deposit. Lessee
responsible for insurance during the lease term, excess wear and tear
as defined in the lease contract, $0.25/mile over 30,000 miles and a
disposition fee of $350 at lease end. Not all customers will qualify
for security deposit waiver. Tax, title, license and registration fees
are additional fees due at signing. Advertised payment does not
include applicable taxes. Purchase option at lease end, excluding tax,
title and government fees, is $27,813. Offer valid through January 02,
2018 and may be combined with other offers unless otherwise stated.
Models pictured may be shown with metallic paint and/or additional
accessories. Visit your authorized BMW Center for important details.
©2017 BMW of North America, LLC. The BMW name, model names and logo
are registered trademarks.
I want to match the number before months, which in this case is
36
However its coming out twice. is there a way to make it only match once?
I'm using \d+\s*(?=( months+?))
Thank you for your help!
Maybe you could find the first 36 before months from the start of the string and then capture it in a group:
^.*?(\d+)(?=\smonths)
Match the start of the string ^
Match any character 0 or more times non greedy .*?
Capture 1 or more digits in a group (\d+)
Positive lookahead if what follows is a whitespace and months (?=\smonths)

sas hierarchical raw file - no record type identifiers - multiple observations per records

I have a problem importing a hierarchical text file into SAS.
I've been searching for the past week and had no luck.
The problem is that this file does not contain anything that indicates that the detail records are linked with the header.
I have tried the various methods explained with the. Input #1 Test # with the then do.
Extract of file (every new record starts with Hong Kong but each record has a variable number of lines):
HONG KONG
STEEL GROUP
Invoice Date
09.12.2015
Number
90035565
Delivery note no.
80006292
SAP Order number
18915
Customer number
105226
Order number
RCHEB 5114 1-1 24-11
Shipped from Saldanha bay, South Africa, per vessel
LAN MAY
Bill of lading date
14.11.2015
Port of discharge
ANY CHINESE PORT
Reference no.
Agreement/Contract/Order
OMl/24/ll
Port Wet Metric Tons Dry Metric Tons
ANY CHINESE PORT 202,079.000 199,957.171
Product % USD Value
Steel Ore 50%;29% 3,500.00
HONG KONG
TRADING CORP
Invoice Date
21.12.2015
Number
90035792
Provisional Invoice No
90033952
SAP Order number
50005313
Customer number
102872
Order number
KITST 5007 1-1 21-11
Shipped from Saldanha bay, South Africa, per vessel
HEBEI SUCCESS
Bill of lading date
15.06.2015
Port of discharge
BEILUN
Reference no.
WUGANG
Agreement/Contract/Order
OM6/21/ABG
Port Wet Metric Tons Dry Metric Tons
BEILUN 124,772.000 122,214.174
Product % USD Value Sishen 63.5%, 8 mm Fine Ore
Steel Ore 50%,10% 2,500.00
Iron Ore 20%,80% 1,500.00
Unfortunately, there is not an easy way to do this in SAS (that I know of). I think you are the right track reading the file in, record by record, and writing logic in a data step to parse it.
I would do it like this:
data blah;
infile "stuff.txt";
format inStr $2000.;
input inStr $;
if strip(inStr) = "HONG KONG" do;
...
end;
else if ... then do;
...
end;
...
run;

If/Then formula to treat a number as negative conditional upon accompanying text

I am creating a spreadsheet to track rent owed from agents at a real estate company. I have drop-down lists created to pick from the agent and the type of transaction (Payment, Rent Incurred, Credit Issued, Fee Issued, Payment Reversed, Copier Usage). What I want is to just enter the number in the Amount field without making it a negative, and have a formula that will add it or subtract it based on the type of transaction it is. I want this:
If C2="Payment" OR "Credit Issued", then D2=POSITIVE
If C2="Rent Incurred" OR "Fee Issued" OR "Payment Reversed" OR "Copier Usage", then D2=NEGATIVE
Is it possible to do a formula like that in conjunction with a running balance?
Like this:
Date Agent Transaction Amount Balance
8/25/15 Mike Payment $150.00 -$150.00
9/1/15 Joyce Rent Incurred $200.00 $ 50.00
9/1/15 Mike Rent Incurred $150.00 $200.00
9/1/15 Chris Rent Incurred $250.00 $450.00
9/6/15 Chris Payment $250.00 $200.00
9/15/15 Joyce Fee Issued $ 25.00 $225.00
9/21/15 Joyce Payment $225.00 $ 0.00
I guess I want my balance formula to be like this:
=if(c2,"Payment""credit issued",d2*-1,c2,"Rent incurred""fee issued""copier usage""payment reversed",d2)+c1
Does this make any sense at all?
A formula that may be entered in E2, and filled down:
=N(E1)+D2*IF(OR(C2="Payment",C2="Credit Issued"),-1,1)