to calculate status

zoharb

Board Regular
Joined
Nov 24, 2011
Messages
81
Office Version
  1. 2021
  2. 2013
query@23jan25.xlsx
ABCDEFGHIJ
1Jesus/CL IDDateDescriptionPo#File CountOrder Placed ByOrder TypeStitchesAmountStatus
264301/20/2025 12:21Cornerstone GroupPXFWendy Hayesdigitizing20984.18 
337001/20/2025 20:46Alhambra Complete Building Plans. 4701Ray BaileyARTWORKUSAoutside
463101/20/2025 17:41Lady SilkAUSSally Munrodigitizing744114.81 
563101/20/2025 17:41Lady Silk1AUSSally Munrodigitizing991619.73 
6601/21/2025 02:46Master FlooringPXFChrisDigitizing628312.5 
767101/21/2025 04:07Art for Turner TavernQuote 14.95Patty Littletonartwork14.95approved
860501/21/2025 04:29SterratoShashiartwork5.95
963101/21/2025 05:04Sunstone1AUSSally Munrodigitizing23684.71 
1012701/21/2025 06:22CE GROUP PXFHeatherdigitizing508810.13 
11601/21/2025 09:50AlfagenChrisArtwork5.95 
1239501/21/2025 22:22ApexKMKimberly McKeeverDigitizing0pending-42.52hr
134401/21/2025 22:30WURTH WORKOUT WEEKRUSHJoshuaArtwork8.95
1422501/22/2025 01:47Qualified Tent BannerQuote19.95JUSTINartworkpending39.11hr
15601/22/2025 04:06TMD Field Maintenance LogoPXFLindaDigitizing0pending-36.79hr
168301/22/2025 05:46BAAA EPSleomeartwork5.95 
178301/22/2025 05:53Bocceleomeartwork5.95 
187101/22/2025 07:04Hearts of hopeNicki Hopkinsartwork5.95 
19601/22/2025 07:39Tweed Escapes Logo.PXFChrisDigitizing42488.45 
20801/22/2025 07:39Port Phillip Timber floor2 optionsTracyartworksend also to samgmail39.95approved
21601/22/2025 10:33Physio Place PXFChrisDigitizing34566.88 
228301/22/2025 10:30H A Reed LocksmithLeoma -pxfleomedigitizing0pending#30.39hr
238301/22/2025 10:33InspiringLeoma -pxfleomedigitizing630912.55 
2419401/22/2025 10:59Logo prostate PXFMichelleDigitizing37347.43 
255801/22/2025 11:43Franks Gardening Lisa allan artwork5.95 
2666801/22/2025 23:09CUT lineRUSH2Angela Campbellartwork5.95 
2766801/23/2025 00:08Station 18RUSHQuote 20.95Angela Campbellartworkawaiting approval
2822501/23/2025 02:15Steele9202Quote5.95JUSTINartwork5.95approved
292101/23/2025 03:01Pinnies logoQuote11.9Tim Macyartworkawaiting approval
3022501/23/2025 03:48Century 21Quote5.95JUSTINartworkawaiting approval
3167101/23/2025 06:39Art for Turner Tavernnew @23jan25Patty Littletonartwork5.95 
325801/23/2025 08:26GR designs Lisa allan artwork5.95 
33601/23/2025 06:01WaterlooChrisartwork8.95 
34601/23/2025 05:31Brunswick HeadsCAPPXFChrisDigitizing29255.82 
35601/23/2025 05:31Brunswick HeadsPXFChrisDigitizing1016120.22 
3612701/23/2025 11:51RD-0237Bec's shopPXFHeatherdigitizing40608.08 
3712701/23/2025 11:56TKS logoPXFHeatherdigitizing0pending-4.96hr
3812701/23/2025 11:56TKS logoHeatherartworkpending4.96hr
Sheet1
Cell Formulas
RangeFormula
I2,I34:I37,I21,I24,I19,I15,I12,I9:I10,I4:I6I2=IF(H2<32665,(ROUND(H2*(1.99/1000),2)),65)
J2,J32:J38,J21,J24:J25,J14:J19,J9:J12,J4:J6J2=IF(AND(G2="digitizing",H2=""),"pending-"&ROUND((NOW()-B2)*24,2)&"hr",(IF(AND(G2="artwork",I2=""),"pending"&ROUND((NOW()-B2)*24,2)&"hr","")))
I22:I23I22=ROUND(H22*(1.99/1000),2)
J22:J23,J26,J31J22=IF(AND(G22="digitizing",H22=""),"pending#"&ROUND((NOW()-B22)*24,2)&"hr",(IF(AND(G22="artwork",I22=""),"pending #"&ROUND((NOW()-B22)*24,2)&"hr","")))



Has written formula is Column J for pending,
but now also wants to include "Quote required" if "Quote" IS written in any case in Column D or E
and
if has $ sign or number(upto 3 digit or upto 3 digits with decimal) after that(quote) it should be "awaiting approval"
formula is needed in Column J
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
You can shorten that EXISTING J2 to this
=IF(OR(AND(G2="digitizing",H2=""),AND(G2="artwork",I2="")),"pending"&ROUND((NOW()-B2)*24,2)&"hr","")

You also need to explain what takes precedent with the status, "pending" or "Quote required" or "awaiting approval"
 
Upvote 0
When client gives any working without asking Quote it is simply pending(the thing that I have already done). till its not over i column is not populated , so pending status shows(in Column J)
But some clients asks for Quote. so we tag it with "Quote". then status should be "Quote required"(in column J), but after we gave "Quote" . the status should change to "awaiting approval"
Now when the client approves Quote-it is mentioned as "approved" in Column D, E or H(whichever is empty and at that status in column J will change to "pending" and as usual , formula of pending as mentioned previously should trigger .

Hope I am clear.
If not, so please mention where in logic I have made mistake and I will be oblidged to you to give proper answer.

Zohar batterywala
 
Upvote 0

Forum statistics

Threads
1,225,969
Messages
6,188,112
Members
453,460
Latest member
Cjohnson3

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