text
stringlengths
83
79.5k
H: Max number in a column I haven't been able to find an answer to this because I don't know how to word the search terms. How do I prevent a cell from going above the number 300,000? It is simply the sum of one column subtracted by another but when I haven't completed a set (because I am not to that day yet) it places a result higher than 300,000 and can be confusing. AI: solution 1: =IF(E4-B4<300000; E4-B4; ) solution 2: =IF(AND(E4<>""; B4<>""); E4-B4; )
H: How to remove accounts from "Choose an account" list in Google sign in? When signing in with Google (OAuth), it shows a list of accounts it already knows about. How can I remove some accounts from this list? I know I can nuke all of them by deleting all cookies, but I'd prefer to remove one account that I don't want there, rather than all of them. There used to be an ability to edit this list in the older version of this screen, but in 2018 redesign Google has removed [×] buttons next to the accounts. AI: log out open https://accounts.google.com/ click on Continue select Remove an account click on that ⊖ select Yes, remove* done old GUI: https://i.stack.imgur.com/R0vEr.gif
H: Cell format protection + forced capitalisation I've created a Google Sheets document intended for daily use by more than a dozen people. Text inputted in two of the columns is set up, via conditional formatting, to change colour based on the name entered (Smith = Red, Baker = Blue, Williams = Green and so on). I'm also running a script that forces all entries in these columns to be capitalised. The issue I have is that all users need to be able to move the column entries up and down as and when required. For example, a job may be scheduled at 6am, then need to be moved down to an 8am slot. When that happens, the formatting breaks and has to be replaced. I understand there may be a way to lock or force the formatting using a control column/row and a script, but nothing I've tried seems to work. Any help or pointers would be much appreciated! AI: Google Sheets doesn't include a built-in feature to lock/force the cell formatting. One alternative is to use a dialog or side panel for user input. Another alternative is to use a script to reapply the correct format as needed. For this you could use an onEdit or onChange triggers. Related Protect Google Spreadsheet formatting while allowing changes to data Protect Formatting (Validation) Can I protect the formatting of a Google Sheets?
H: Aggregate values based on categories and subcategories I am trying to create a document which automatically tracks spending based on two categories. For example, I have a sheet formatted similar to the table below: Type | Amount | Category Visa | $100 | Hair Chase | $200 | Face Visa | $50 | Hair Master | $150 | Face Visa | $25 | Face And my goal is to update a seperate table with spending broken down for both "Type" and "Category", like this: | Total | Hair | Face | Mouth Total | $525 | $150 | $375 | $0 Visa | $175 | $150 | $25 | $0 Chase | $200 | $0 | $200 | $0 Transfr | $0 | $0 | $0 | $0 Master | $150 | $0 | $150 | $0 Note: all categories in the above table are intended to be static with only their relevant values getting filled in. That's why "Mouth" and "Transfr" are part of the table, even though they have no transactions in that category. I have attempted to use the "Query" formula but I am only able to sort based on one category receiving results like these: | Sum Visa | $175 Chase | $200 Transfr | $0 Master | $150 or | Sum Hair | $300 Face | $225 I am not sure if this is possible on Google Sheets, but any help would be appreciated. AI: C11: =SUM(C3:C9) C12: =IFERROR(SUM(QUERY($B$3:$D$9,"select C where B='"&$B12&"'")),0) D11: =IFERROR(SUM(QUERY($B$3:$D$9,"select C where D='"&D$10&"'")),0) D12: =IFERROR(SUM(QUERY($B$3:$D$9,"select C where B='"&$B12&"' and D='"&D$10&"'")),0) F15: =IFERROR(SUM(QUERY($B$3:$D$9,"select C where B='"&$B15&"' and D='"&F$10&"'")),0) etc. demo spreadsheet
H: My Facebook was disabled by mistake, how long does it take to get it back? On November 20th I was first told you send a photo of me for security and it was being reviewed. Now on December 24th my account was disabled when I had to wait a whole month to wait so I sent a photo of my birth certificate to "My personal account was disabled" and i'm still waiting for my account to be back on because my birth certificate shows my birth date and name. Is anybody else having this problem?? I heard a lot of people are having this problem. AI: From Help Centre: Facebook disable accounts that don't follow the Facebook Terms. Some examples include: Posting content that doesn't follow the Facebook Terms Using a fake name Impersonating someone Continuing behavior that's not allowed on Facebook by violating our Community Standards Contacting other people for the purpose of harassment, advertising, promoting, dating or other conduct that's not allowed If you think your account was disabled by mistake, please submit an appeal.
H: Is it possible to make Facebook stories available for everyone after 24 hours just like in Instagram? In Instagram you can feature a story and it will remain visible for anyone after 24 hours. In Facebook you can't do this, but you archive them, and they will remain visible, but only for you, apparently. The place where Facebook stories are archived has a caption which says "only you can see your stories archive" and it has a padlock icon along to that caption. Is it possible to make Facebook stories available for everyone after 24 hours just like in Instagram? AI: No, as of now it's not possible as Facebook has made it for 24 hours only. From Facebook Help Center: How long are photos and videos in my story available? Each photo or video in your story is available in the stories section in Facebook and the Messenger app for 24 hours. When you go Live, the video will be available in your story for as long as you're live. You can always delete a photo or video from your story.
H: Is there a way to emulate Vlookup in Google Script? I did some looking around and I'm struggling quite a bit in finding the answer. I'm working on a Google Script for Google Sheets that works like a Vlookup, where you define a cell for it to look at, and use the information found within that cell to search ANOTHER range of cells elsewhere. eg. 1 Use the value from A1 (Sheet 1) to search in the 1st column (Sheet 2) and then return the value from that row in the 3rd column. eg. 2 =VLOOKUP(A1, 'Sheet 2'!A1:D4, 3) Bearing in mind that since this is a Script and not a Formula, the fact that A1 is in Sheet 1 and not Sheet 2 would of course need to somehow be defined AI: Yes, it is possible to emulate many of the built-in functions by using Class Spreadsheet (SpreadsheetApp) and JavaScript Array Object and its methods, but "the emulations" usually will be slower than built-in functions. Knowing the above I consider that the core of the question is how to use JavaScript to emulate VLOOKUP and other built-in functions. I order to keep this answer short, here is an example taken from the answer to Writing google Javascript similar to vlookup function findinB() { var sh = SpreadsheetApp.getActiveSheet(); var ss = SpreadsheetApp.getActiveSpreadsheet(); var last=ss.getLastRow(); var data=sh.getRange(1,1,last,2).getValues();// create an array of data from columns A and B var valB=Browser.inputBox('Enter value to search in B') for(nn=0;nn<data.length;++nn){ if (data[nn][1]==valB){break} ;// if a match in column B is found, break the loop } Browser.msgBox(data[nn][0]);// show column A } Just replace the Browser.inputBox by the data sources that you want to use. Note: There are several questions on Stack Overflow about how to implement VLOOKUP on JavaScript and/or Apps Script, like Does JavaScript or jQuery have a function similar to Excel's VLOOKUP?
H: Where does Marudot store information between browser sessions? I often use a handy Marudot iCal Event Maker. This web application remembers past events that I have put into it, even though I don't log in, I clear all cookies between sessions, and I use my laptop in different places with different IP addresses. I checked my browser settings, and I don't see any local storage or flash storage. Where does this site store its information? Is it somehow creating an ID for my browser that the server can use to identify my return? AI: I figured this out by grep-ing my Firefox profile folder. Since I knew what information was stored, namely the event description, I searched for that information like this: grep -Rl 'my event description' ~/.mozilla That revealed that the information was stored in a file named webappsstore.sqlite, which a quick internet search revealed is where Web Storage is kept. So much for my session-only cookie settings. I'm still perplexed at why Firefox's Page Info/Permissions/Maintain Offline Storage setting of "Always Ask" doesn't seem to be working...
H: Safe SUM() in Google Sheets When I use sum in Google Sheets, it: sums all numeric cells from the range (which is exactly what I want silently ignores all empty non-numeric cells from the range (which is usually what I want, though it can sometimes be too smart) silently ignores all non-empty non-numeric cells from the range. This is usually not what I want. Whenever I try to sum such a text, I would appreciate a failure. Generally, a failure is preferred to an incorrect result. How do I get rid of the last property of the SUM function? I have tried count/counta for this, but it looks too hacky and it seems to have some undesired effects in edge cases like all values in the range being "". Is there any better way to do it? Also, this starts being quite complex. The ideal solution would be as easy as possible. While those metrics do not fully cover maintainability and readability, they provide some objective hints: Minimize the number of occurrences of the range, ideally to just one. The rationale is simple: When changing the range, I would like to change it at as few places as possible. Minimize the count of characters (but not at any cost): Google Sheets is not well designed for long formulas. There is a link to document with some test cases: https://docs.google.com/spreadsheets/d/1YTFS1OnUOh_unreO01QTq0GSDzUAczK1d6oo0a26-dU/edit?usp=drivesdk AI: After some research, I have realized that we can just multiply it by 1. The (almost) ultimate and quite simple solution is: sum(arrayFormula(1*…)) It currently passes all my tests except that it does not fail for date/time – it tries to convert the number instead. This seems to be the last limitation. I don't believe this is easy to resolve, as Google Sheets consider this date/time as a kind of number. Advantages: It provides more descriptive error messages than just N/A. It does not require repeating the range definition. It is quite readable, although it might not be clear why you have decided to go this way over plain sum(range). It is quite short. I have tried to resolve this last limitation (accepting date/time) by comparing A1 with value(A1) or 1*A1 using EXACT(A1, value(A1)) or something similar. This might be the way to go in theory, but virtually any kind of formatting (fixed decimal places, thousands separator, currency name) can break it, even in trivial cases. Also, I haven't succeeded with arrayFormula there. So, I am answering the question myself. If you have any better solution, you are welcome.
H: Splitting numbers of a cell and adding them together in an ArrayFormula on Google Sheets My question is how can I have digits of a cell added together in an array formula format, in that 12 | -> 3 //(result: 3 = 1 + 2) 14 | -> 5 46 | -> 10 11 | -> 2 53 | -> 8 And let’s just say the values 12, 14, 46 on are on column A and the answered would be B. AI: up to 2 digits: =ARRAYFORMULA(IF(LEN(A1:A)=2, LEFT (A1:A, 1) + RIGHT (A1:A, 1), )) up to 3 digits: =ARRAYFORMULA(IF(LEN(A1:A)=2, LEFT (A1:A, 1) + RIGHT (A1:A, 1), IF(LEN(A1:A)=3, LEFT (A1:A, 1) + MID (A1:A, 2, 1) + RIGHT (A1:A, 1), ))) up to 4 digits: =ARRAYFORMULA(IF(LEN(A1:A)=2, LEFT (A1:A, 1) + RIGHT (A1:A, 1), IF(LEN(A1:A)=3, LEFT (A1:A, 1) + MID (A1:A, 2, 1) + RIGHT (A1:A, 1), IF(LEN(A1:A)=4, MID (A1:A, 1, 1) + MID (A1:A, 2, 1) + MID (A1:A, 3, 1) + MID (A1:A, 4, 1), )))) added single digit support: =ARRAYFORMULA(IF(LEN(A1:A)=1, A1:A, IF(LEN(A1:A)=2, LEFT (A1:A, 1) + RIGHT (A1:A, 1), IF(LEN(A1:A)=3, LEFT (A1:A, 1) + MID (A1:A, 2, 1) + RIGHT (A1:A, 1), IF(LEN(A1:A)=4, MID (A1:A, 1, 1) + MID (A1:A, 2, 1) + MID (A1:A, 3, 1) + MID (A1:A, 4, 1), ))))) limit array for only first 3 ocurances: =ARRAY_CONSTRAIN(ARRAYFORMULA(IF(LEN(A1:A)=1, A1:A, IF(LEN(A1:A)=2, LEFT (A1:A, 1) + RIGHT (A1:A, 1), IF(LEN(A1:A)=3, LEFT (A1:A, 1) + MID (A1:A, 2, 1) + RIGHT (A1:A, 1), IF(LEN(A1:A)=4, MID (A1:A, 1, 1) + MID (A1:A, 2, 1) + MID (A1:A, 3, 1) + MID (A1:A, 4, 1), ))))), 3, 1)
H: multiple IF statements with between number ranges alternative How to efectively deal with multiple IF-statements and with multiple "between number" ranges in Google Sheets' spreadsheet (e.g. C column based on B column) with a rule set as follows: 01-10 11-20 21-50 51-100 101-150 151-200 201-300 301-500 501-800 801-1000 1001-1222 1223-1568 1569-1800 etc... IF() =IF(AND(B2>=1; B2<10); "01-10"; IF(AND(B2>=11; B2<21); "11-20"; IF(AND(B2>=21; B2<51); "21-50"; IF(AND(B2>=51; B2<101); "51-100"; IF(AND(B2>=101; B2<151); "101-150"; IF(AND(B2>=151; B2<201); "151-200"; IF(AND(B2>=201; B2<301); "201-300"; IF(AND(B2>=301; B2<501); "301-500"; IF(AND(B2>=501; B2<801); "501-800"; IF(AND(B2>=801; B2<1001); "801-1000"; IF(AND(B2>=1001; B2<1223); "1001-1222"; IF(AND(B2>=1223; B2<1569); "1223-1568"; IF(AND(B2>=1569; B2<1800); "1569-1800";))))))))))))) disadvantages of a standard IF statement nestings are: long syntax per single row dependency tricky post-editing tricky array formula support IFS() =IFERROR(ARRAYFORMULA( IFS(B2:B>=1569; "1569-1800"; B2:B>=1223; "1223-1568"; B2:B>=1001; "1001-1222"; B2:B>=801; "801-1000"; B2:B>=501; "501-800"; B2:B>=301; "301-500"; B2:B>=201; "201-300"; B2:B>=151; "151-200"; B2:B>=101; "101-150"; B2:B>=51; "51-100"; B2:B>=21; "21-50"; B2:B>=11; "11-20"; B2:B>=1; "01-10"));) disadvantages of IFS statement are: long syntax tricky post-editing reverse order logic dependency AI: VLOOKUP() =IFERROR(ARRAYFORMULA(VLOOKUP(B2:B; {QUERY(IFERROR(ARRAYFORMULA(VALUE( REGEXEXTRACT(Sheet2!A2:A; "(\d+)"))); ); "SELECT Col1")\ QUERY(Sheet2!A2:A; "SELECT A")}; 2)); ) where Sheet2 consists a list: US syntax: =IFERROR(ARRAYFORMULA(VLOOKUP(B2:B, {QUERY(IFERROR(ARRAYFORMULA(VALUE( REGEXEXTRACT(Sheet2!A2:A, "(\d+)"))), ), "SELECT Col1"), QUERY(Sheet2!A2:A, "SELECT A")}, 2)), )
H: Can a WhatsApp account be deleted due to inactivity? I had a WhatsApp account on a phone which has been left at power-off for several months now. The SIM card (number) that the account belonged to has also been removed from the phone for similar amounts of time. So I came home for the holidays and on the 2nd of January I discovered; The number had "left" groups that my current account and the former one had in common. The account has actually been "deleted" i.e no profile picture, an "invite" option and the default "Hey there!..." status dated at Feb 24th, 2009. (which appears to be close to WhatsApp's (the company's) inception). Note: I got the phone & created the account in 2016. From a friend's phone, the profile picture still isn't there but the status (about) is the latest one I put up in 2017 What is going on? Should I be worried that someone turned my phone on / it got stolen? AI: 30 days - you won't receive message older than 30 days 45 days - if your account is inactive for 45+ days your account will be recycled. your account stays active if you do not use it on another device even after 45+ days 180 days - after this period you will be removed from groups https://faq.whatsapp.com/en/general/24068052
H: Mega.nz download doesn’t save I downloaded a cinematic pack from MEGA.nz and opened it and played it in my video player. However, after I got done watching it. It deleted itself from quick access and I can’t find it. Does that mean I wasted 2 hours downloading something or is it saved somewhere on my hard drive? I don't think I clicked save after the download or I forgot. AI: Downloading from MEGA.nz is a bit tricky because it can look like you download it twice but in fact, you download it into a MEGA.nz "buffer" and then from your browser to your local drive. In your case, it depends on what you did... some browsers can provide "open file" without saving it locally. In such case, the file is opened (in video player) and removed from your temp folder on video player closure. Your only chance is to download it again from buffer if you did not close that browser tab. If you did, then you are good to go downloading it again for 2 hours
H: How to autofill value on Google Sheets I have the following example here. I have a random value that is no spaced exactly, (some have 10 empty between them other 30). I would like to have some value equally added in the empty spaces. I do not care If I have to repeat the operation 40 times because the values are not spaced correctly, but I can't find a good function that does what I would like to do. AI: go to File select Spreadsheet settings... select Calculation turn on Iterative calculation hit Save settings button paste this formula into A3, A19, A34, A60, A79, A101 etc. =IF(INDIRECT("A"&ROW()-1)=INDEX(FILTER(INDIRECT("A"&ROW()&":A");N(INDIRECT("A"&ROW()&":A")));1;1); ARRAYFORMULA(TEXT(TRANSPOSE(SPLIT(REPT(INDIRECT("A"&ROW()-1)&";";COUNTA(ARRAYFORMULA(INDIRECT("A"& ROW()-1)+(ROW(INDIRECT("A"&ROW()&":A"&INDEX(FILTER(IF(N(INDIRECT("A"&ROW()&":A"));ROW(INDIRECT("A"& ROW()&":A")););IF(N(INDIRECT("A"&ROW()&":A"));ROW(INDIRECT("A"&ROW()&":A"));));1;1)-1))-2))));";")); "##"));ARRAYFORMULA(TEXT(INDIRECT("A"&ROW()-1)+(ROW(INDIRECT("A"&ROW()&":A"&INDEX(FILTER(IF(N( INDIRECT("A"&ROW()&":A"));ROW(INDIRECT("A"&ROW()&":A")););IF(N(INDIRECT("A"&ROW()&":A"));ROW( INDIRECT("A"&ROW()&":A"));));1;1)-1))-2)* (INDEX(FILTER(INDIRECT("A"&ROW()&":A");N(INDIRECT("A"&ROW( )&":A")));1;1)-INDIRECT("A"&ROW()-1))/(ROWS(INDIRECT("A"&ROW()&":A"&INDEX(FILTER(IF(N(INDIRECT("A"& ROW()&":A"));ROW(INDIRECT("A"&ROW()&":A"));); IF(N(INDIRECT("A"&ROW()&":A"));ROW(INDIRECT("A"&ROW()& ":A"));));1;1)-1)))* (ABS(MINUS(INDIRECT("A"&ROW()-1);INDEX(FILTER(INDIRECT("A"&ROW()&":A");N( INDIRECT("A"&ROW()&":A")));1;1)))-(ABS(MINUS(INDIRECT("A"&ROW()-1);INDEX(FILTER(INDIRECT("A"&ROW()& ":A");N(INDIRECT("A"&ROW()&":A")));1;1)))* (100/(((COUNTIF(INDIRECT("A"&ROW()&":A"&INDEX(FILTER(IF( N(INDIRECT("A"&ROW()&":A"));ROW(INDIRECT("A"&ROW()&":A")););IF(N(INDIRECT("A"&ROW()&":A"));ROW( INDIRECT("A"&ROW()&":A"));));1;1));"<>""")+1)-1)* 100))))/ABS(MINUS(INDIRECT("A"&ROW()-1);INDEX( FILTER(INDIRECT("A"&ROW()&":A");N(INDIRECT("A"&ROW()&":A")));1;1)));"##"))) if there is a need to add decimals for ultimate accuracy, then edit "##" into "##.###" auto-filled cells are in TEXT() format so if you want to work with A column you will need to convert it into numbers with VALUE() - for example something like =ARRAYFORMULA(VALUE({A7;A8;A9}))
H: Black and White Emojis Showing up on Outlook Website I have a client I am working with who has the Windows 7 black and white emojis showing up instead of the colour emojis you'd normally expect to display. The client has no problem in Gmail using the same web browser. Both Firefox 64 and IE 11.0.9866.19230 that they have on their computer seem to have the same problem on the Outlook site. Her emojis still show up in colour fine for others who she sends messages to, just not for her. Is this a Outlook issue, or is there something wrong on the Windows 7 machine that they can do to fix things? I've already had them clear their cache/cookies on their browser. AI: This should be by design. Please refer to this article: To see the colorful emoji versions in Outlook, you will need Windows 10 or Windows 8.1 (partial support). When using Windows 7, you can insert the black and white version via the Segoe UI Symbol font. If the recipient supports colorful emoji, the colorful version will still be shown.
H: Why are the forward/back keyboard shortcuts in Google Calendar reversed? I recently started using Google Calendar a lot more, and one of the first things I did was look for keyboard shortcuts to speed up my planning. I found this: I'm wondering whether there's some motivation behind choosing those particular shortcuts, because intuitively, I would expect j to go back and k to go forward, given that k is on the right. AI: The j/k keys come from the Vi text editor and ADM3A computer terminals, where they originally were used for vertical navigation – they mean "cursor down" and "cursor up" respectively. See HJKL keys for the full set. (Nowadays you'll also find these hidden hotkeys in various other webapps, such as Twitter timelines or Ars Technica comment threads.) Because j moves the cursor down in this keymap, it makes sense for it to scroll down to the next item – and it used to be an obvious choice in earlier Google Calendar UI versions, which used vertical scrolling for the month view. (If I remember correctly, that is.) The only problem is that the "Material 2" redesign for Google Calendar switched to sideways scrolling for months, which no longer matches the hotkey choice. (And, IMHO, is completely unintuitive for a calendar in general – even when I'm swiping left/right on the Android app.)
H: How to export Telegram's member list? I'd like to export a list of current members of the channel or group. Is it possible through the UI, alternative client (such as Bettergram), Telegram API or Bots API? I've seen this feature on some marketing apps (such as Telegram Auto), but I prefer to do it on my own. One of the use cases is when moving members from channel to the group (without manually clicking all of the members), so the question assumes I've admin rights, but if the method will work for other channels/groups, that's even better. How such an export can be done? AI: You can try Telethon which can extract all the members of a given group and saves it in an SQLite database. You need to be an admin for the channel of course. You can get it with a method like: from telethon import TelegramClient from telethon.tl.functions.contacts import ResolveUsernameRequest from telethon.tl.functions.channels import GetAdminLogRequest from telethon.tl.types import InputChannel from telethon.tl.types import ChannelAdminLogEventsFilter from telethon.tl.types import InputUserSelf from telethon.tl.types import InputUser # These example values won't work. You must get your own api_id and # api_hash from https://my.telegram.org, under API Development. api_id = ****** # Your api_id api_hash = '********************************' # Your api_hash phone_number = '+989122594574' # Your phone number client = TelegramClient(phone_number, api_id, api_hash) client.session.report_errors = False client.connect() if not client.is_user_authorized(): client.send_code_request(phone_number) client.sign_in(phone_number, input('Enter the code: ')) channel = client(ResolveUsernameRequest('tabe_eshgh')) # Your channel username user = client(ResolveUsernameRequest('amir2b')) # Your channel admin username admins = [InputUserSelf(), InputUser(user.users[0].id, user.users[0].access_hash)] # admins admins = [] # No need admins for join and leave and invite filters filter = None # All events # param: (join, leave, invite, ban, unban, kick, unkick, promote, demote, info, # settings, pinned, edit, delete) filter = ChannelAdminLogEventsFilter(True, True, True, False, False, False, False, False, False, False, False, False, False, False) result = client(GetAdminLogRequest(InputChannel(channel.chats[0].id, channel.chats[0].access_hash), '', 0, 0, 10, filter, admins)) ##print(result) for _user in result.users: ##print(_user.id) with open(''.join(['users/', str(_user.id)]), 'w') as f: f.write(str(_user.id)) or method like this: from telethon import TelegramClient, sync api_id = 'FILL REAL VALUES HERE' api_hash = 'FILL REAL VALUES HERE' client = TelegramClient('xxx', api_id, api_hash).start() # get all the channels that I can access channels = {d.entity.username: d.entity for d in client.get_dialogs() if d.is_channel} # choose the one that I want to list users from channel = channels[channel_name] # get all the users and print them for u in client.get_participants(channel): print(u.id, u.first_name, u.last_name, u.username) However, first, you need to obtain your api_id and api_hash using MTProto by logging to https://my.telegram.org/ with your existing Telegram account and getting credentials. Resources: https://github.com/LonamiWebs/Telethon https://core.telegram.org/api#telegram-api https://core.telegram.org/api/obtaining_api_id
H: How to add member to the group which doesn't have username? In Telegram IM client, normally when I add members to my group, I type their username in the box and it's displayed on the list. However some users don't have a username, so they aren't listed when typed by their name, therefore I can't add them. Is it by design, or there is any workaround? AI: by username contact / number by ID Q: How do I add more members? What's an invite link? You can add your contacts, or using search by username. It is easy to migrate existing groups to Telegram by sending people an invite link. To create an invite link, go to Group Info — Add Member — Invite to Group via Link. Anyone who has Telegram installed will be able to join your group by following this link. If you choose to revoke the link, it will stop working immediately. https://telegram.org/faq#q
H: GitHub - What's this "Pro" tag on my profile? I logged into GitHub today and found something new I hadn't seen before: What is this, and why did it begin to appear? AI: PRO tag refers to https://github.com/pro GitHub today (07.01.2019) announced that it is changing the name of the GitHub Developer suite to GitHub Pro. The company says it’s doing so in order to "help developers better identify the tools they need". In other words, all Pro (and Edu) users have that PRO tag. Honorable mention: Historically GitHub always offered free accounts but the caveat was that your code had to be public. To get private repositories, you had to pay. Starting tomorrow, that limitation is gone. Free GitHub users now get unlimited private projects with up to three collaborators. The amount of collaborators is really the only limitation here and there’s no change to how the service handles public repositories, which can still have unlimited collaborators. Some say, this may or may not be the result of Microsoft's closed acquisition of GitHub last October, with former Xamarin CEO Nat Friedman taking over as the CEO of GitHub. Some developers were rather nervous about the acquisition (though it feels like most have come to terms with it). It’s also a fair guess to assume that GitHub’s model for monetizing the service is a bit different from Microsoft’s. Microsoft doesn’t need to try to get money from small teams - that’s not where the bulk of its revenue comes from. Instead, the company is mostly interested in getting large enterprises to use the service.
H: How to get direct download URL link for directory in Google Disk? I know how to create a link from shared file https://drive.google.com/file/d/FILE_ID/view?usp=sharing to direct download link https://drive.google.com/uc?export=download&id=FILE_ID However, I can't find a solution for directory direct download link? I have something like this https://drive.google.com/drive/folders/FOLDER_ID?usp=sharing and this doesn't work. https://drive.google.com/uc?export=download&id=FOLDER_ID I would like to have a link for directory which would compress all files and directories in it as one zip file like it does when downloading manually. AI: Unfortunately, a folder cannot be downloaded with the direct download link. Such a folder needs to be firstly zipped e.g. zip = file = you can then use FILE_ID and after you get share link of that zip, you can then https://drive.google.com/uc?export=download&id=FILE_ID it.
H: How to delete own Telegram's group/channel? I've created a group and a channel on Telegram, but they're no longer in use. I can leave a group/channel, but it doesn't solve my problem. How do I remove them completely? I've tried Telegram Desktop v1.5.4 on Windows. AI: I've found it by following these steps (in Telegram Desktop v1.5.4 on Windows): Go to View channel/group info by clicking a triple-dot icon. Go to Manage Channel/Group by clicking a triple-dot icon. Click on Channel Info. Delete channel/group. On Android app (Telegram X), the following steps should work: Tap on the channel/group title. Go to Manage Channel/Group by clicking a pen icon. Choose Destroy channel/group by clicking a triple-dot icon. Related question on Quora: How do I delete an abandoned Telegram channel?.
H: Find cell that contains some phrase I'm looking for replacement of Excel formula: =if.error(lookup(1000;search($B$1:$B$2;A1);$B$1:$B$2); "NONE") The sheet looks like this: So in column A, I have a long product index, in column B, I have a database of indexes. In column C, I want to receive an index from a database if a cell from column A contains it. Could anyone help me with that? AI: =ARRAYFORMULA(IFERROR(LOOKUP(1000, SEARCH($B$1:$B$4, A1), $B$1:$B$4), "NONE")) to make it more intuitive (this way you don't need to edit B range when your DB grows): =ARRAYFORMULA(IFERROR(LOOKUP(1000, SEARCH(INDIRECT("$B$1:$B$"&COUNTA(B$1:B)), A1), INDIRECT("$B$1:$B$"&COUNTA(B$1:B))), "NONE"))
H: Merge variable rows into one cell I have the following data and I would like to have it organized by individual parts while merging the parts IDs into a cell is there any way of doing this with Google Sheets? AI: =JOIN(", "; TRANSPOSE(FILTER($B$2:$B; $A$2:$A = E2)))
H: Find value of last non blank cell in a row (while skipping specific columns) So basically I have a list of data in a row. They are totaled weekly statistics numbers and at the end of every month, there is a "total" column. The column where the 8 is at is where this formula will go and the column with the 5 and 0 in it is where my data starts. The grey columns are the "total" columns. I am trying to use this code =INDEX(J15:BT15,1,COUNT(J15:BT15)) to get the value of the last non-blank row. It doesn't work because the "total" column automatically populates as a sum of the weeks in that month for a "Month to date" kind of total. How would I go about skipping these "total" columns with the index formula, and if it isn't possible, how can I achieve this in a different way without relocating my data with formulas? Is there a way to do this with =query() by skipping columns with the header "total"? Very amateur at this so thank you in advance! AI: EXAMPLE 1: =INDEX({A1,B1,D1},MAX(({A1,B1,D1}<>"")*COLUMN(A1:C1))) {A1,B1,D1} - included columns COLUMN(A1:C1) - full range (A1:D1) of columns (4 columns) minus excluded column (1) = A1:C1 (because 4 - 1 = 3) EXAMPLE 2: =INDEX({A1,B1,D1,E1,F1,I1},MAX(({A1,B1,D1,E1,F1,I1}<>"")*COLUMN(A1:F1))) excluded columns: C, G, H COLUMN(A1:F1) = range A1:I1 minus 3 excluded columns EXAMPLE 3: =INDEX({J1,K1,M1},MAX(({J1,K1,M1}<>"")*COLUMN(A1:C1)))
H: Custom Script in Pivot Table Value Formula = Error Loading Data forever I am very new to the Google Sheets platform, but I am not new to programming, and am comfortable creating and managing javascript code, and reading API documentation. I am working on a side project, the goal is to use Google Sheets alongside existing microservices to generate a comprehensive Dungeons and Dragons Fifth Edition spreadsheet. It's more of a labor of love than anything. Criticism very welcome. I am learning a lot about how information is represented in Google Sheets, and have found it relatively lacking in comparison to Microsoft Excel, until I learned about how data could be transformed using Pivot Tables. Generally, I have an idea about how I will represent my data, I place just enough information in spreadsheet rows and columns to perform my query, and then I would like to retrieve my data from the API endpoint using a pivot table to construct the query url, and parse the JSON into the table from there. Here is the very nice REST API that I found: http://www.dnd5eapi.co/ REST API Example return value And here is the script that I used to get started importing JSON from the API: https://www.chicagocomputerclasses.com/google-sheets-import-json-importjson-function/ My Issue When using the IMPORTJSON custom function inside of a spreadsheet, the query works fine, returning the rows of data that I would normally come to expect from the jsonpath-ish string that I pass into the function. However, when using the IMPORTJSON function in the formula for a value, the pivot table is just stuck with "Loading" and "Error: Loading Data..." forever. I found this Stackoverflow post but the prescribed fixes didn't work for me (unless I am misunderstanding something): https://stackoverflow.com/questions/20718931/new-google-sheets-custom-functions-sometimes-display-loading-indefinitely I also found this question to be not very helpful, considering the type of data that I am attempting to retrieve is a string: https://stackoverflow.com/questions/22799055/error-in-google-app-script-custom-function What I have done so far Copied the example IMPORTJSON code into google Set up a couple of the initial queries and pivot tables Here is the sheet in its current state for reference or viewing purposes (stackoverflow copy, do what you will): https://docs.google.com/spreadsheets/d/18Gs53Enr8ckfa7bhwpbTccgOpMBlBhKHwBtUKGkuT_s/edit?usp=sharing MY true source of confusion is that the IMPORTJSON function works for spreadsheets, I have not have had a single issue with it using it to populate a spreadsheet, the only time I have an issue with it is when I try to populate a Pivot Table Value using the IMPORTJSON function as the formula. If it works in one place, it should work in the other in theory, right? AI: Custom function doesn't work on features like Pivot Table, conditional formatting, etc. They work only when applied directly as cell formulas. The workaround is to add an auxiliary column on the Pivot Table source data and extend the reference accordingly but it's highly recommend to optimize IMPORTJASON first in order to avoid having to repeat this custom function several times on the spreadsheet to avoid performance issues. Related Can I use custom function in the 'custom formula is:' field? How to use user-defined functions for custom formatting?
H: How to view full images on hover in Google Sheets? Given a URL to an image, how can I easily insert images into cells into Google Sheets and then have the full images viewable on hover? I'll be doing this on the fly with many images throughout the day, so the fewer clicks, the better. I have tried Chrome extensions like ImageHover and Imagus, but neither seem to work with either inline or linked images within cells. AI: you can insert URL into a cell in this or similar format https://i.stack.imgur.com/GV4QM.png and then hover over hovered link or you can insert an image into a cell and make it active: =HYPERLINK("https://i.imgur.com/dcAoUzp.jpg",IMAGE("https://i.imgur.com/dcAoUzp.jpg",4,90,160)) and then hover over a hovered link (notice the mouse cursor) https://github.com/extesy/hoverzoom/ https://chrome.google.com/webstore/
H: Split multi-line (comma-separated) cell into new rows + duplicate surrounding row entries Based on: Google sheets split multi-line cell into new rows (+ duplicate surrounding row entries) How can I rewrite this for use of a comma as separator and remove blank spaces? Input sheet: Row 1: Albert A. Anderson, Beatrice B. Bargel -> The desired output on a new sheet: Row 1: Albert A. Anderson (plus surrounding cells) Row 2: Beatrice B. Bargel (plus surrounding cells) Example spreadsheet AI: SCRIPT : function transform(range) { var output2 = []; for(var i=0, iLen=range.length; i<iLen; i++) { var s = range[i][1].split(", "); for(var j=0, jLen=s.length; j<jLen; j++) { var output1 = []; for(var k=0, kLen=range[0].length; k<kLen; k++) { if(k == 1) { output1.push(s[j]); } else { output1.push(range[i][k]); } } output2.push(output1); } } return output2; } FORMULA : =TRANSFORM(A1:E4) RESULT :
H: Combining 3x IMPORTRANGE with dynamic range I have 3 Google Sheet and want to combine all of them with: Sheet 1: 480 rows Sheet 2: 40 rows Sheet 3: 20 rows The sheet keeps expanding by the day since the sheet's data comes from a Google Form Currently I have the formula: ={IMPORTRANGE("Sheet 1 Link","Response!A2:M480"); IMPORTRANGE("Sheet 2 Link","Response!A2:M40"); IMPORTRANGE("Sheet 3 Link","Response!A2:M20")} And I need to update the range of each sheet whenever there's new rows of data I need to manually update it into: ={IMPORTRANGE("Sheet 1 Link","Response!A2:M481"); IMPORTRANGE("Sheet 2 Link","Response!A2:M42"); IMPORTRANGE("Sheet 3 Link","Response!A2:M23")} Is there any way to make the IMPORTRANGE's range dynamic depending on Response sheet's current row? AI: ={QUERY(IMPORTRANGE("1UWQU7d6SEHvrhvG8SAXqZZsx4L8nqfkmxhOsUGT3cmI","Sheet1!A1:C"), "select Col1,Col2,Col3 where Col1 is not NULL", 0); QUERY(IMPORTRANGE("1UWQU7d6SEHvrhvG8SAXqZZsx4L8nqfkmxhOsUGT3cmI","Sheet1!D1:F"), "select Col1,Col2,Col3 where Col1 is not NULL", 0); QUERY(IMPORTRANGE("1UWQU7d6SEHvrhvG8SAXqZZsx4L8nqfkmxhOsUGT3cmI","Sheet1!G1:I"), "select Col1,Col2,Col3 where Col1 is not NULL", 0)}
H: How does one search a picture online? If one has a picture file, like .jpg, how does one search (maybe Google) if this picture is around online? AI: go to https://www.google.sk/imghp? click on a camera to upload your picture select Upload an image press Choose file button
H: How export a spreadsheet as XML? How can I export a simple spreadsheet, consisting of a single column of data, as XML? Exporting as CSV is leading to other problems, so turning to XML as a workaround. AI: add this add-on to your spreadsheet - https://chrome.google.com/webstore/detail/ open your spreadsheet you want to export go to Add-ons select Export Sheet Data select format XML and other settings click on Export button click on the download button
H: Custom formatting with data returns what the cell shows but not what the cell contains Basically I have this set up in one of my sheets in which these cells have data validation for "is valid date" so a calendar shows up when you double click them, then it has custom formatting so whichever date you select will make the cell output the day with the ending to that number (1'st',2'nd', etc.). It just appears different but in reality, the full date is still in the cell. My question is, if I set another cell equal to one of the date cells, it doesn't display the whole date, but only what appears in that cell. Example: If I put =M2 in a random cell, it would show 5th and not 1/5/2019. How can I get it to display 1/5/2019? AI: TO_DATE() formula can convert it back: =TO_DATE(E3)
H: AVERAGEIFS parse error =AVERAGEIFS(Sheet12!R:R,Sheet12!A:A,N5,Sheet12!B:B,">=9/16/2018",Sheet12!B:B,"<=10/3/2018") While giving cell range instead of a date value, it's showing error. AI: =AVERAGEIFS(Sheet12!R:R, Sheet12!A:A, N5, Sheet12!B:B, ">="&DATE(2018, 9, 16), Sheet12!B:B, "<="&DATE(2018, 10, 3))
H: Making Google Sheets script work on multiple tabs Below is my script or code: function myFunction() { } function onEdit() { var s = SpreadsheetApp.getActive().getSheetByName('Sheet1'); s.showRows(1, s.getMaxRows()); s.getRange('H:H') .getValues() .forEach( function (r, i) { if (r[0] == 'Complete') s.hideRows(i + 1); }); } I would like this script to work on multiple tabs such as Sheet2, Sheet3, etc. I have looked all over for a script that would work with mine to make it work on multiple tabs. If you know how to do this, please help! AI: Replace var s = SpreadsheetApp.getActive().getSheetByName('Sheet1'); by var s = SpreadsheetApp.getActiveSheet(); The above line will assign the sheet that was edited to s.
H: Running formatting script across multiple Google Sheets tabs I have an onEdit script I'm using to protect/force formatting on a single tab within a google sheets document - and it works perfectly. The issue I have is that I'd like the same script to work on multiple tabs of my choosing, but I'm not sure how to go about that. To begin with, I'd like it to work on a tab titled 'WEEKEND' but I expect I'll add more tabs as and when I need them. I know you can only use the onEdit function once, but I don't know how to set up an working array that allows me to replicate the script across other tabs. Here's the script I'm using. } function onEdit(e){ var ss = SpreadsheetApp.getActive() var sheet =ss.getActiveSheet() if(sheet.getSheetName() == "NEWS"){ var entryRange = e.range var range = sheet.getRange(1,entryRange.getColumn(),1,entryRange.getNumColumns()) Logger.log(entryRange.getA1Notation()) range.copyFormatToRange(sheet, entryRange.getColumn(), entryRange.getNumColumns()+entryRange.getColumn()-1, entryRange.getRow(), entryRange.getNumRows()+entryRange.getRow()-1) Logger.log(entryRange.getColumn()) if(entryRange.getColumn() == 10){ if (entryRange.getRow() != 1){ e.range.setValue((e.oldvalue == undefined? "": e.oldvalue)) } } } } function setFormat(){ var ss = SpreadsheetApp.getActive() var sheet = ss.getActiveSheet() var firstRow = sheet.getRange(1, 1, 1, sheet.getLastColumn()) var dataRange = sheet.getDataRange() firstRow.copyFormatToRange(sheet, 1, dataRange.getNumColumns(), 2, dataRange.getNumRows()) } AI: You have to make a copy of your onEdit function, to change the name of the copy and to replace the following line code: var sheet =ss.getActiveSheet() by something like the following one: var sheet =ss.getSheetByName(name); where name is a variable that has being assigned with the sheet name to use. Also you should add a way to set the value of name, but there are many ways to do this. Then you could run the script from the Script editor or to add a custom menu.
H: How do I tie an enum to a set of numeric values? I created a list of items Data Validation in a sheet corresponding to time-frequency: weekly,monthly,annually I want to multiply values in a numeric column with the corresponding weekly values to get a normalized annual cost so weekly would be 52x, monthly 12x. It's just three columns: one numerical, one with drop down of 3 possible text values (weekly, etc) and a final numerical (annual total). If I choose weekly from the drop down, I want the value in the first column to be multiplied by 52 and the result stored in the 3rd total column. How do I accomplish this in Google Sheets? AI: =ARRAYFORMULA(IF(B1:B="weekly"; A1:A*52; IF(B1:B="monthly"; A1:A*12; IF(B1:B="annually"; A1:A*1; ))))
H: How to access help and support on Twitch.tv I want to ask some questions and to ask for help for fixing my problems with my account on Twitch.tv but on their website, there is no link whatsoever to anything like "Support" or "Feedback" or "Help". And of course, I can't find any "Community" or "Forum" links, to ask this question there. And then, how can I send a message to the staff at the Twitch.tv to ask them for help with my account? AI: help pages: https://help.twitch.tv/ email support: https://help.twitch.tv/customer/e help support: https://help.twitch.tv/customer/frm Twitter support: https://twitter.com/TwitchSupport Twitter Dev support: https://twitter.com/TwitchDev Discord support: https://discord.gg/0gHwecaLRAzrRYWi YouTube feed: https://www.youtube.com/user/Twitch/feed blog support: https://blog.twitch.tv/ job support: https://jobs.lever.co/twitch IT support: https://www.twitch.tv/p/security/ press suport: https://www.twitch.tv/p/about/press-releases/ addvertising support: https://twitchadvertising.tv/contact/ reddit comunity: https://www.reddit.com/r/Twitch/ Prime support: https://help.twitch.tv/customer/prime developer forum: https://discuss.dev.twitch.tv/ developer support: https://dev.twitch.tv/support/ phone / e-store support: 1-855-833-7774 legal support: legal@twitch.tv customer support: help@twitch.tv purchase support: purchasesupport@twitch.tv premium support: turbosupport@twitch.tv business support: partnerhelp@twitch.tv student support: twitchstudent@twitch.tv office address: 350 Bush Street, 2nd Floor, San Francisco, CA 94104 USA CEO: Emmett Shear - @twitter COO: Sara Clemens - @twitter, @linkedin
H: How to subscribe to YouTube comments? Is there a way to subscribe to YouTube comments under a particular video? I only see how to subscribe to the whole channel of a particular user. AI: YouTube comments are for free - there is no need to subscribe to them, you either see them (and can comment) or you don't (when YouTuber who uploaded video disabled them on his video). The third case can be if you have some extension which hides YouTube comments with or without your consent.
H: Problem combining LEFT() and QUERY() functions I'm currently working in Google Sheets and I need to import a part of a row from a spreadsheet to another. I'm importing the row with the QUERY() function and "cutting" the data from the row with LEFT() function. Something like this: =LEFT(QUERY(IMPORTRANGE("1MkAat5Q791H0UKOuGwMIz2d8crocbNecyF4jnXo9K58"; "Notas 1ºA No Pivoteadas!A1:D527");"select Col1");8) The problem is that only applies the LEFT() function to the first cell of the row and the whole row taken from the query is filled with the same cell. Any suggestions? AI: add continuosity with ARRAYFORMULA(): =ARRAYFORMULA(LEFT(QUERY(IMPORTRANGE("1MkAat5Q791H0UKOuGwMIz2d8crocbNecyF4jnXo9K58"; "Notas 1ºA No Pivoteadas!A1:D527"); "select Col1"); 8)) for number-text combo add TO_TEXT(): =ARRAYFORMULA(LEFT(QUERY(TO_TEXT(IMPORTRANGE( "1MkAat5Q791H0UKOuGwMIz2d8crocbNecyF4jnXo9K58"; "Notas 1ºA No Pivoteadas!A1:D527")); "select Col1"); 8))
H: ArrayFormula for consequential sum-up? Here's a sample test spreadsheet - https://docs.google.com/spreadsheets/d/ What do I have to do in the ONE cell in column D such that I won't have to copy and paste the same formula in column C throughout the entire column all the time as my data grows? AI: Allen, you can also try this: Delete everything from Column D (including the header). Place the following array formula into D1: =ArrayFormula({"Array Formula";SUMIF(ROW(B2:B),"<="&ROW(B2:B),B2:B)+B$1})
H: Can you add to a Github pull request after the source repo is deleted? I've opened a pull request (PR) on a repo, but then managed to accidentally delete the branch I initiated the request from. The maintainer of the project has requested I make a couple changes.. now I'm stuck. Github still has the PR, but now shows the source of the branch as "unknown repository". I was able to recover the exact commit and re-push that (it has the same commit hash as the commit in the PR), but it still shows as "unknown repository". Is there a way to push directly into the PR itself? AI: You could try the steps outlined in this issue to pull the the branch from the PR: So to update a PR, even if you have removed the original remote branch out of which the PR was created, you just need to: Fetch the PR (git fetch pull/<id>/head:branchname and git checkout branchname). Add new commits, amend, rebase, do whatever you like. Push or push force (git push remote +branch). And after that the PR will be automagically updated :) This support page also talks about how to recreate a branch from a PR, although it ends with creating a new PR (so worst case you could grab the old branch, then close that PR and open a new one).
H: Removed labels - where did my emails go? I've been using Gmail for quite a while and I have about 15000 emails in total, only partially sorted using labels. Using Gmail itself to sort them is a nightmare for me, so I decided to use Thunderbird instead. My plan was to download the emails (IMAP, not POP3) and move them to a local folder to store them and have them removed from Gmail. I assumed the emails disappear from Gmail if I move them to a local folder, but that seems to be only true if you move the email from the Inbox, and not "All Mail". Here is my problem: I had the emails in Gmail sorted using labels. I removed all those labels from the conversations and I expected all my emails would land back in my inbox, but they didn't. They are all visible under "All Mail" from what I saw, but they're not in the Inbox. The Inbox has a fraction of the amount of emails that "All Mail" has. Where did the emails go? All I want is to move all my emails to a local folder on Thunderbird and have them removed from Gmail automatically, but I can't do that, because the "All Mail" folder/label seems to be a copy of all the emails, so if I move those, the emails are still in Gmail. AI: Every new email received has the special label "inbox" unless you use a filter to prevent it from receiving the "inbox" label. The user can attach other labels as they see fit, which is a strength of Gmail becasue that message can have multiple labels. If a user clicks the archive button the "inbox" label is stripped from the message/conversation, but it leaves the other labels attached to that message. If a message has no labels becasue no other labels had been attached before the "inbox" label was removed, then it is only found in the "all mail" category becasue that category shows you all your messages in your Gmail account. I removed all those labels from the conversations and I expected all my emails would land back in my inbox, but they didn't. They are all visible under "All Mail" from what I saw, but they're not in the Inbox. The Inbox has a fraction of the amount of emails that "All Mail" has. Removing other labels from a message/conversation doesn't automatically move them to the inbox becasue that would involve reattaching the "inbox" label. This can be done using the labels button. the "All Mail" folder/label seems to be a copy of all the emails, so if I move those, the emails are still in Gmail. Each message only appears once in Gmail. It can have 0, 1 or many labels. In fact messages in Gmail don't move, they just have labels, and the software uses the various queries to show them to the user.
H: How can I create a unique list of data across multiple rows AND columns? Google Sheets has a UNIQUE() function which when given a column of values, will output a column of all unique values. This works well for column-specific data, however, you have multiple columns and rows of data that needs to be summarized, this won't work. This is because if you include a 2-dimensional range into UNIQUE() the end results are two dimensional, with only each column being summarized. Is there a function or way to summarize all values across an entire 2-dimensional range? REASONING: I have a large list of businesses. Each column is a type of business, and each row contains values of business names. I need to create an end-list of all businesses that are provided throughout the entire source sheet. I don't need unique values per column. I need unique values across the entire document. AI: =UNIQUE({A:A;B:B;C:C}) =ARRAYFORMULA(UNIQUE(QUERY(TO_TEXT({A:A;B:B;C:C}), "select Col1 where Col1 is not null")))
H: How can I rotate multiple objects at a time on Draw.io (relative, not absolute rotation)? Alright, so I'm creating a card game, and there's an icon and number on the top left of the card. On the bottom right, it should be mirrored so that if the card is dealt upside-down, time is not wasted. A good example is standard playing cards with the numbers and royals mirrored on both sides. My icon consists of multiple shapes in different rotations (20,5,350,335 degrees), so it would be tedious to manually rotate. Example: https://gyazo.com/1951f9bf82435518fe19a070d54b5ae6 When I try to rotate all of them, there is no button for relative rotation -- I can only enter an absolute rotation such as 90 degrees in the format panel, and then my icon is messed up. For now, I ended up manually rotating all of them and changing the coordinates so that the manual rotations would fit as a whole. Maybe I might be wasting my time, though. AI: ABSOLUT ROTATION: hold CTRL key and select objects you want to rotate go to Arrange select Direction select Rotation enter the desired value press Apply RELATIVE ROTATION: hold CTRL key and select objects you want to rotate press CTRL+G to lock them in a group rotate object as desired RELATIVE ROTATION TO OUTSIDE POINT: hold CTRL key and select objects you want to rotate press CTRL+G to lock them in a group go to Arrange select Direction select Rotation enter the desired value press Apply rotate object as desired based on outside point
H: How do I prevent arrows from snapping when moving them on Draw.io? I'm trying to create curved arrows with a custom angle/curve. I am using the "Directional Connector" from the Shapes list. It keeps connecting to the vertices of nearby shapes such as rectangles, images, etc., but I don't want that to happen. Also, I made sure the "Snap to Point" property is unchecked for that shape. What I can do to prevent it from snapping to vertices? Perhaps I'm using the wrong shape to create custom curved arrows? Edit: I've also tried to use the "Curve" arrow shape but it still snaps to vertices of nearby objects. AI: To prevent snapping to points/objects try to press and hold CTRL+SHIFT while you move the object/arrow.
H: How do I prevent a web application from lagging? Currently, I'm using Draw.io (similar to Microsoft PowerPoint in editing tools) on Google Chrome to create my card game. However, I've added a ton of shapes, and now it's lagging. I have some other tabs open, but I'm not sure if that is the issue. I tried setting Google Chrome to high priority via task manager, but it doesn't seem to be helping. Any other tips? I'm not sure which StackExchange meta this belongs on, but this seemed most fitting. AI: there are many ways and any or none can help... toogle hardware acceleration (better rendering) set chrome://flags/#num-raster-threads on 4 (faster image/object load) suspend all non-active tabs - https://chrome.google.com/webstore/ (more RAM resources) clear cache - chrome://settings/clearBrowserData (less junk files) set high or realtime priority in task manager (priority boost)
H: What does the Google Translate shield icon mean? What does the Google Translate shield icon mean? How can a word be protected? AI: It is not "protection" but validation. Google Translate allows users to participate in kind off validation program which is able to improve the complexity of translation AI algorithm. This translation AI algorithm kicks in whenever you try to translate phrase or sentence and its purpose is to improve translation experience and make it more "smart-like" because ordinary "word-for-word" (robotic) dictionary translation is already on its edge eg. out-dated. In other words, the validation icon (should) signalise that translation (between two completely different languages which have no common ground nor logic, history etc.) is solid. http://translate.google.com/community
H: How to count cells in a row while skipping specific columns? Basically, I need to count non-blank cells in a row and I need to skip certain columns/cells in that row. I'm sure this is simple combination of functions but I can't seem to find a solution to this. AI: =COUNTA( {I28:K28, M28, N28} )
H: Can results of ARRAYFORMULA be used as values in an annotated timeline? I am trying to create an annotated timeline with the following data, which exists on another sheet: I am using an ARRAYFORMULA to retrieve the text. I want to display these values as an annotated timeline chart, but I keep getting this error: Each values column may be followed by one or two annotation columns. column number 1 is of type string I have tried (Select Column) Format->Number->Date and (Select Column)Data->Data Validation->Must be valid date It is driving me nuts. Is it because it is an ARRAYFORMULA? If I hand type it out again (which is simply untenable) the chart generates fine. Is there a fix, or is this just broken? Google Sheets link: https://docs.google.com/spreadsheets/d/1sIEgWVPLrNWYImCIlWS8gvj8JQIe-cB4P2grlHW0ysk/edit?usp=sharing On "Sheet20", you will see the failing version, and if you scroll right you will see the identical hand typed data on a working version. AI: Yes they can, but the whole array needs to be converted back into VALUE() B1: =ARRAYFORMULA(IF(LEN(A1:A),VALUE(SUBSTITUTE(Patches!B1:B1000, ".", "", 2)), ))
H: How do I create a pie slice shape on Draw.io? I'd like to create or find this shape on Draw.io, a pie shape that can be adjusted, size, length, etc. I couldn't find this shape in the shapes list, so I figure this one must be created somehow, but I don't know how, especially with such a curvy shape. AI: pie shape is located in Basic shapes:
H: How can I import CSS-weighted font faces such as DemiBold, UltraBold, etc. into Draw.io? I'm able to import fonts from my computer locally by simply installing the font, and then typing the full name of the font, such as "ITCKabelStd" and it works well, but whenever I try to do "ITCKabelStd-Ultra" or anything with a CSS weight of boldness font face, it doesn't detect it. It just uses the regular front "ITCKabelStd" in place of it when I put the ultra variant. I've checked my computer to make sure those font faces are installed, and they are indeed installed. How can I fix this issue? AI: each font variant needs to be installed as a standalone font make sure you are referring to the font name, not the filename
H: How to check if the 1st letter in a cell is UPPERCASE I'm trying to find out if the 1st letter in a cell is UPPERCASE. I know how to convert case using PROPER(), UPPER(), and LOWER(), but not how to detect case. The following checks every word in the string and returns false for A1 and true for A2, but I just want to know if the 1st character in the cell is proper, not every word. =EXACT(PROPER(a1),a1) string in cell A1: hello World string in cell A2: Hello World Any ideas on a formula that will return false for cell A1 and true for cell A2? AI: =ARRAYFORMULA(IF(LEN(A1:A); IF(EXACT(UPPER(LEFT(A1:A; 1)); LEFT(A1:A; 1)); TRUE; FALSE); ))
H: Convert inputted time duration to minutes:seconds I'm working on this spreadsheet, and I wish to convert the data in columns C, D, and E from hours and minutes to minutes and seconds. For example, an inputted 7:08 turned into 07:08:00.000 (hours and minutes, no seconds) when it should be something like 00:07:08.000 instead (minutes and seconds, no hours). Is there a way to change how Google Sheets to input time by default so that a duration inputted as mm:ss is automatically turned into mm:ss? AI: if the custom time format is set to mm:ss you need to input 7min & 8sec as 0:7:8 otherwise you need to use a formula and +1 column to convert it into a plausible format =TEXT(TIME(, HOUR(C2), MINUTE(C2)), "m:ss") (output is text) =VALUE(TEXT(TIME(, HOUR(C2), MINUTE(C2)), "m:ss")) (needs to be custom formated) =TIMEVALUE(TEXT(TIME(, HOUR(C2), MINUTE(C2)), "m:ss")) (works best)
H: Conditional Formatting - Custom Formula - Text Contains I have dates in column B that include weekdays in the following format: DDD, MMM DD, YYY (For example, Sat, Jan 19, 2019). I want each row to auto format to a specific background colour based on the weekday in column B: if B1 contains Sat I want row 1 to turn blue if B100 contains Sat I want row 100 to turn blue I have tried using suggestions from these threads like regexmatch() and countif(): Conditional formatting based on portion of text Finding partial texts in conditional formatting custom formula But neither of these seem to work for me. I am at a loss. Any help is appreciated. AI: conditional formatting of whole row with a custom formula: =IF(LEFT($A1, 3)="Sat", 1, 0)
H: How to round float to bigger integer? In Google Sheet, we can use ROUND() to round float to the nearest. like 5.2 = 5 5.5 = 6. What if I want it: 5.2 = 6 5.5 = 6. If the number exceeds by a decimal, then rounded off to +1. Any idea? AI: Try ROUNDUP Rounds a number to a certain number of decimal places, always rounding up to the next valid increment.
H: How to remove "read" notifications? Last week (I think), the mark all as read button vanished from my GitHub notification page, maybe for a few days. It eventually came back. But now, read notifications just accumulate in a dedicated read drawer and there seem to be no way of getting rid of them... What's going on with GitHub notifications this month? Where can I find information (and motivation) about these new features? How do I clear these notifications? AI: Marking all notifications as read in the upper-right corner of any page, click the bell in the upper right corner of the page, click Mark all as read https://help.github.com/articles/marking-notifications-as-read/ To remove Read notifications you can unread them into Unread or: unwatch repositories leave teams lock conversations wait a few days until they vanish on themselves More about notifications: https://github.blog/notifications/ GitHub changelog: https://github.blog/changelog/ Feedback links: https://github.community/ https://github.com/contact https://enterprise.github.com/contact https://enterprise.githubsupport.com/hc/en-us/requests/new
H: Current value of compound interest How can I calculate the current value of a sum deposited in a past date, with a fixed interest rate? For example, if $1,000 were deposited on 1/1/2000 in an account which pays a 3% annual interest rate, how much would they be worth today? AI: COMPOUND INTEREST: cell F6: =B6*(1+C6)^(YEARFRAC(A6,TODAY())) cell G6: =B6*(1+C6/4)^(4*YEARFRAC(A6,TODAY())) cell H6: =B6*(1+C6/12)^(12*YEARFRAC(A6,TODAY())) cell I6: =B6*(1+C6)^(ROUNDDOWN(YEARFRAC(A6,TODAY()),0)) cell J6: =B6*(1+C6/4)^(4*ROUNDDOWN(YEARFRAC(A6,TODAY()),0)) cell K6: =B6*(1+C6/12)^(12*ROUNDDOWN(YEARFRAC(A6,TODAY()),0)) _______________________________________________________________ INTEREST MULTIPLIED BY YEARS: up to today's date: =B2 + C2/100*B2 * YEARFRAC(A2; TODAY()) up to to the start of new anual period (eg. from 01.01.2000 to 31.12.2018): =B2 + C2/100*B2 * ROUNDDOWN(YEARFRAC(A2; TODAY()); 0)
H: Nested list in draw.io? I am using an embedded draw.io diagram in Confluence, and I can't seem to find a way to create a nested list. In Confluence, you can add markup, which does the trick, but draw.io doesn't seem to support that feature. How to create a one level nested list inside a diagram of draw.io? Example (where bullets are represented by stars): * first a b * second c * third d My desperate solution is adding whitespaces after the list item, until the nested list item goes to the next line and the indentation level I want (awful, doesn't scale, breaks easily, inconsistent). AI: From draw.io support in Google groups: Note: If I try to embed that into a colored container, it will push the colored background, in order to embed itself. PS: I ended up using a pool, instead of a container with a nested list inside, in order to do my work..
H: Insert weight in kgs AND lbs in one cell? Right now, a cell is showing the value: 10 I want it to show: 10 kg or 22 lbs And I want that to happen in the same cell. Also, that 10 is also a result of a calculation =B2-80 I ended up using the concat formula a bunch of times. AI: =B2-80&"kg or "&(B2-80)*2.2&" lbs" =JOIN("kg or "; B2-80; (B2-80)*2.2&" lbs") =CONCAT(B2-80&"kg or "; (B2-80)*2.2&" lbs") =CONCATENATE(B2-80; "kg or "; (B2-80)*2.2; " lbs")
H: How to print the first modified date of a cell I would like to make a script that works like this script to print a timestamp when a cell was last updated but in this case I want to return when it was first updated, not last. Here is one attempt: function onEdit(cellOrigin,cellDestination) { var s = SpreadsheetApp.getActiveSheet(); // Get spreadsheet name var r = s.getActiveCell(); // store active cell name in current spreadsheet var cell1 = cellOrigin // This is the row I want to put values if(r.getRow() != cell1) { // Ignores this row (where I put the dates) var column = r.getColumn(); // Get column # from active cell var time = new Date(); // Get date and time of last mod time = Utilities.formatDate(time, "GMT-08:00", "MM/DD/yy, hh:mm:ss"); // Format date and time SpreadsheetApp.getActiveSheet().getRange(cellDestination).setValue(time); // put in time in cell }; }; AI: Try something like this // Global variables var origin = 'A1'; var destination = 'B1'; function onEdit(e){ if(e.range.getA1Notation() == origin && e.range.getSheet().getRange(destination).isBlank()){ e.range.getSheet().getRange(destination).setValue(new Date()); } }
H: Highlight cell border in Google Docs I'm trying to create a table in Google Docs. I need a header row at the top and a similar column on the left side. To distinguish these from the rest of the table I am trying to embolden the line which separates them from the rest of the table, something like the middle line below: If I make a selection of cells, a little disclosure triangle appears in the upper right cell of the selection. If I click on this I can select which border edges are displayed, but I can't control their formatting. If I select the menus: Format -> Paragraph Styles -> Borders and Shading I can bold the border "under" each cell, but this winds up not actually affecting the border, but rather an area above it: How can I just bold specific segments of table borders? AI: select top row of your table click the triangle on the right of your selection chose a bottom row of selection to be highlighted click on that button with lines select width of the border done
H: Dynamically creating chart in Google Sheets I'm looking for a way of automatically generating a graph based on a constantly expanding dataset. The number of columns is constantly expanding (a program create a new column with new datasets for each day). I want to generate a graph based on the sum of each column. I can generate a sum using: =SUM(index(SPLIT(filter(Date_Log!F2:F, len(Date_Log!F2:F)), ":"), 0, 1)) but the generating a graph part based on X number of columns is unknown. It could probably be achieved by "automatically" copying the formula for calculating sum to the top of each column. But the "Automatically" part for each new column generated is also unknown. AI: you can use SPARKLINE() and do not include ending column (A9:9): =SPARKLINE(A9:9, {"CHARTTYPE","LINE";"COLOR","GREEN";"LINEWIDTH",4}) if you want to use a chart then you will need to add some unreasonable amount of columns first and then construct your chart (like for example: A9:GG9)
H: How can I change the Google Docs (Sheets, Slides) user interface design? I have several Google accounts. I noticed that the user interface of G Suite Apps in my new account is different from the one in my old account. Could you please tell whether I can choose it and how I can do it? Old UI: New UI: AI: You can't. This change is made by Google. Eventually, it will be all updated to the new design, you just hit the period of "change in progress". What’s changing: Google Docs, Sheets, Slides, and Sites will be getting a new look and feel on the web. While there are no functionality changes, users will notice some visual improvements, including: Interface typography that uses Google’s custom-designed and highly-legible typefaces Controls (like buttons, dialogues, and sidebars) that are updated and consistent Iconography that is legible and crisp, with a fresh feel The four products in this update join other G Suite products like Gmail and Calendar in sharing a common design language. https://gsuiteupdates.googleblog.com/2019/
H: MIN and SUM functions in Google Sheets for Time I'm trying to use the MIN and SUM function but the answer always comes back with either 0, ERROR or !DIV/0. The format I want to have for my times are for example: 0.03, 10.56, 1:13.00. =MIN example: =SUM example: One final thing I would want is that the last digit can only be 0, 3 or 6. So for example 1.03 + 1.06 + 1.03 = 3.13 and not 3.12. Please help, I've been trying to solve this for days. AI: first, you need to do is to change your input by entering it like 0:0:10.13 which will output as 00:10.13 if you will follow steps from image and custom format your column: then you can sum it up with formula =SUM(A8+B10+D7): lastly, to cover the last digit change you can use simple IF() to convert it based on logic rules: =IF(AND(VALUE(RIGHT(C13, 1))>0, VALUE(RIGHT(C13, 1))<3), LEFT(C13,7)&0, IF(AND(VALUE(RIGHT(C13, 1))>3, VALUE(RIGHT(C13, 1))<6), LEFT(C13,7)&3, IF(AND(VALUE(RIGHT(C13, 1))>6, VALUE(RIGHT(C13, 1))<10), LEFT(C13,7)&6, C13)))
H: Google Meet permanent room When we start a meeting we get a meeting URL like meet.google.com/xxx-yyyy-zzz. Is there a way to get a customized and/or permanent meeting URL? Even "customized" is an optional one, the requirement is to create a permanent room so that anyone can join that room without having the unique URL. This is very much useful when you have a recurrent meeting or a quick get-together. Any idea? AI: go to https://bitly.com/ create a free account click on that orange button CREATE select BITLINK paste your meeting URL customize it as you wish (example: bit.ly/lets-meet-now) click on SAVE button
H: Flag rows that are duplicates in two columns My question is similar to this one, but adds a little more complexity. How can I flag duplicate entries in a Google Sheets column unless the duplicates have different values in another column? For instance, consider the table col A col B -------------- abc 123 def 123 ghi 456 ghi 456 How can I flag the last two rows which are the same in both col A and col B but not the first two which differ in col A? AI: this custom formula is able to flag 1st (cell) occurrence of a duplicate pair: =COUNTIFS($A1:$A, "="&A1, $B1:$B, "="&B1)<2
H: SUM columns from other sheets and group by month, but also show the individual sheets values before doing SUM Currently, I have a spreadsheet which has a number of customer sheets, each with a pivot table showing the month in the row I and the total income for each month in row L. On a separate sheet I have a query that sums all of the month totals (This just shows 2 Customer sheets, normally these sheets are given the name of the customer): =query({'Sheet1'!I2:I,'Sheet1'!L2:L;'Sheet2'!I2:I,'Sheet2'!L2:L}, "Select Col1, sum(Col2) group by Col1 label Col1 'Month'") Currently this shows: | Month | sum | | 2018/12 | £ 35.00 | 2019/01 | £ 155.00 | 2019/02 | £ 60.00 | 2019/03 | £ 210.00 | Grand Total | £ 460.00 I have been asked to add a column for each customer sheet which shows the value the query took before it did the SUM, I want each column to be named as the Sheet the column came from. So it should look like: | Month | sum | Sheet1 | Sheet2 | | 2018/12 | £ 35.00 | £10 | £25 | 2019/01 | £ 155.00 | £100 | £55 | 2019/02 | £ 60.00 | £30 | £30 | 2019/03 | £ 210.00 | £110 | £100 | Grand Total | £ 460.00 If the totals showed under each sheet name it wouldn't hurt but isn't necessary. The sum could be on the left or right, I'm not worried about it's positioning. Is there any way to do this in Google Sheets? I have been playing around with query a bit, but haven't managed to get it to display more than 2 Columns. AI: one cell solution: ={{QUERY({Sheet1!E3:F; Sheet2!E3:F; Sheet3!E3:F; Sheet4!E3:F; Sheet5!E3:F}, "select Col1, sum(Col2) where Col1 is not null group by Col1 label Col1 'Month', sum(Col2)'Sum'", 0)}, {"Sheet1"; ARRAYFORMULA(IFERROR(VLOOKUP(UNIQUE(SORT( QUERY({Sheet1!E3:E; Sheet2!E3:E; Sheet3!E3:E; Sheet4!E3:E; Sheet5!E3:E}, "select Col1 where Col1 is not null"),1,1)), Sheet1!E3:F, 2, 0), ))}, {"Sheet2"; ARRAYFORMULA(IFERROR(VLOOKUP(UNIQUE(SORT( QUERY({Sheet1!E3:E; Sheet2!E3:E; Sheet3!E3:E; Sheet4!E3:E; Sheet5!E3:E}, "select Col1 where Col1 is not null"),1,1)), Sheet2!E3:F, 2, 0), ))}, {"Sheet3"; ARRAYFORMULA(IFERROR(VLOOKUP(UNIQUE(SORT( QUERY({Sheet1!E3:E; Sheet2!E3:E; Sheet3!E3:E; Sheet4!E3:E; Sheet5!E3:E}, "select Col1 where Col1 is not null"),1,1)), Sheet3!E3:F, 2, 0), ))}, {"Sheet4"; ARRAYFORMULA(IFERROR(VLOOKUP(UNIQUE(SORT( QUERY({Sheet1!E3:E; Sheet2!E3:E; Sheet3!E3:E; Sheet4!E3:E; Sheet5!E3:E}, "select Col1 where Col1 is not null"),1,1)), Sheet4!E3:F, 2, 0), ))}, {"Sheet5"; ARRAYFORMULA(IFERROR(VLOOKUP(UNIQUE(SORT( QUERY({Sheet1!E3:E; Sheet2!E3:E; Sheet3!E3:E; Sheet4!E3:E; Sheet5!E3:E}, "select Col1 where Col1 is not null"),1,1)), Sheet5!E3:F, 2, 0), ))}} demo spreadsheet with test area __________________________________________________________ 2-cell solution: =QUERY({Sheet1!E3:F; Sheet2!E3:F; Sheet3!E3:F; Sheet4!E3:F; Sheet5!E3:F}, "select Col1, sum(Col2) where Col1 is not null group by Col1 label Col1 'Month', sum(Col2)'Sum'", 0) ={{"Sheet1"; ARRAYFORMULA(IFERROR(VLOOKUP(INDIRECT("A2:A"&COUNTA(A1:A)), Sheet1!E3:F, 2, 0), ))}, {"Sheet2"; ARRAYFORMULA(IFERROR(VLOOKUP(INDIRECT("A2:A"&COUNTA(A1:A)), Sheet2!E3:F, 2, 0), ))}, {"Sheet3"; ARRAYFORMULA(IFERROR(VLOOKUP(INDIRECT("A2:A"&COUNTA(A1:A)), Sheet3!E3:F, 2, 0), ))}, {"Sheet4"; ARRAYFORMULA(IFERROR(VLOOKUP(INDIRECT("A2:A"&COUNTA(A1:A)), Sheet4!E3:F, 2, 0), ))}, {"Sheet5"; ARRAYFORMULA(IFERROR(VLOOKUP(INDIRECT("A2:A"&COUNTA(A1:A)), Sheet5!E3:F, 2, 0), ))}} demo spreadsheet
H: Get URL from web page using IMPORTXML Though I am new to web scraping, but I have a hand on experience of web scraping using VBA (Excel) I am facing the following problem: I have tried all methods (ImportXML, ImportHTMP, ImportData, etc.) for importing data from web-page but getting #N/A error. URL from which I am trying to import is Link and the formula is as following (C3, contains a link): =importXML(C3,"//td/a/@href") From this method, I want to import all links available in a table (I want to get cartoon episodes' URL from web-page of Cartoon series). Please help me to figure out the mistake I am performing. AI: =ARRAYFORMULA(TRANSPOSE(SPLIT(JOIN(" ", "https://kimcartoon.to"&QUERY(IMPORTXML(C3, "//a/@href"), "select Col1 where Col1 contains '"&("pisode")&"' ")), " ")))
H: Track Changes, View "Final" in Google Docs? Google Docs has a feature called "Suggesting" which is similar to Microsoft Word's "Track Changes". In Microsoft Word, once you have made your changes there is an option to view the file with "Final". "Final" will show you the document as it would be if all of the proposed changes are agreed. Is there something similar to this in Google Docs? The only other option I can find in Google Docs is "Viewing" mode, but this does the opposite of Microsoft Word's "Final". "Viewing" just shows you the document if all of the proposed changes were not agreed. AI: activate Editing or Suggesting mode go to Tools select Review suggested edits select Show suggested edits select Preview "Accept all"
H: Branch commits don't go instantly to PR We use Bitbucked for source control (git). Following situation: I created branch added 3 commits to it created PR I see 3 commits in this PR. Then I added additional commit to branch. I see 4 commits in this branch, but still 3 in PR. Sometimes it takes several hours for commits (which added after submitting PR) to appear in PR. But sometimes it's almost instantly. I worked with Bitbucket before and changes in branch always appear in PR instantly. Why it takes some time to update PR? It is normal? Or configuration issue? AI: Just found this article on Bitbusket site: Bitbucket Server relies on hook scripts that are installed into each repository (and managed by the system) to provide change information that, in turn, allows it to update pull requests and check branch permissions. If the hooks are not installed correctly, or are damaged, these required callbacks do not happen and the functionality associated with them fails.
H: How can I center a shape/image within another shape in Draw.io? For example, I have a rectangle, and I want to put an image of a duck in the very center of the rectangle, but I'm not sure how to align it properly without eyeing it. AI: the best and the only way is to drag it with mouse till it snaps to helping grid lines:
H: Identify max value, divide others by half, then total all This may be too specific of a formula, but I'm hoping there is a function or script that will accomplish it. I need a Google Sheet to identify the largest number in a row and divide all of the OTHER numbers by 2, then add the entire row together. Example: Row 1 has the following numbers... 100, 200, and 300 I would like the sheet to identify 300 as the largest number, divide 100 & 200 in half (50 & 100), then total the whole row together to get 450. Is this possible? AI: =SUM(MAX(B12:12), ARRAYFORMULA(QUERY(TRANSPOSE(B12:12), "select Col1 where not Col1 contains '"&MAX(B12:12)&"'")/2))
H: Calculate cost based on time increments I am working with a fee sheet that goes up in $ increments based on time and I would like Google Sheets to do the math to calculate the cost based on the time entered into a cell. Example: a time value of 1 entered into a cell will always equal $800. Every additional 15 mins adds an additional $100 to the original $800. i.e.- 1 hour = $800, 1.25 hrs=$900, 1.5 hrs=$1000... I would like to enter the time in one cell and have the sheet calculate the cost into another cell. AI: BASE + (TIME - BASE) / 15min * EXTRA$ =800+(A4-1)/0.25*100
H: Conditional formating if cell is a formula I'm trying to have cells which value has been entered manually and cells that are the result of a formula differently, is there a way to do that? AI: custom formula: =ISFORMULA(A1) or: =IF(NOT(ISBLANK(A1)), (NOT(ISFORMULA(A1))))
H: Blank Redundant Month I have a large list of days and quantities that I wanted to chart so we could see how many of something we sold on a specific day. Give this goes back 600 days, there is a lot of data so I have been asked to have the x-axis only display the month + a year for a given chunk of the data, i.e. all the Jan - 2016 sales just have a single label saying "Jan- 2016" for the next 20-30 data points. However, the data itself should not be aggregated. This is purely a cosmetic change, the shape of the chart will not itself change. This is proving more difficult than I anticipated since the days aren't evenly spaced and I don't exactly want to brute force check every preceding cell to see if the next cell is a different month. I just feel there is some basic config I have missed for this as I can see the Y-axis behaves that way. AI: insert 2 more columns between A and B column paste this formula into B2 cell: =ARRAYFORMULA(IF(LEN(A2:A), TEXT(A2:A, "mmm - yyyy"), )) paste this formula into C2 cell and drag it down: =IF(COUNTIF($B$2:B2, B2)>1, , B2) create your line chart from C and D columns reverse horizontal axis order if needed:
H: Perform operation on specific column in filtered range, right after filtering I have this formula in E2: =FILTER(A1:C20,B1:B20=2) and need to perform substitute like: spreadsheet here I'm hoping to do the formula in a single cell, without additional columns. AI: =ARRAYFORMULA(FILTER({A1:B, SUBSTITUTE(C1:C, "stuff", "blah")}, B1:B=2))
H: How to stack ranges horizontally? If {range1; range2; range3} (I believe this is called embedded arrays) outputs the combined data in a column - top to down, what puts them side by side next to each other? The 3 ranges may or may not differ in dimensions (different number of columns, which embedded arrays dislike) and I'm trying not to use 3 different formulas in different cells. AI: side by side / next to each other: {range1, range2, range3} all in one column stacked under: {range1; range2; range3}
H: Received an email saying someone has hacked my email account The hacker said they have access to my contacts, social media, and that they've also installed a keylogger onto my system. They want money. The Gmail email header says: Similar messages were used to steal people's personal information. Moreover,Gmail could not verify that this message actually came from xx.xx@gmail.com. Avoid clicking links, downloading attachments, or replying with personal information. This is what the security on Gmail says: security: vodafone-ip.de did not encrypt this message Learn more The hacker also stated one of my older passwords, and it is right. But I changed that password almost an year ago. I try to keep all my passwords different, and just changed my Google password. How is this possible? If it is needed, I can post the full message Edit: the email also says that they have installed a Trojan keylogger to my computer (mac). Should I be worried? I was thinking of factory resetting it just to be safe. I used MalwareBytes as suggested, and it deleted some files such as IronCore/ssinfo.plist (if I'm remembering correctly). I have no idea what these are. I read the email once again, and this is a line from it: "I studied your love life and created a good video series." Thing is, I don't have a love life, so it's probably a scam. AI: I've recently got a few of these emails along similar lines, while there is some variation to them they typically claim to have hacked your account and threaten to release data if a ransom isn't paid. They haven't actually done so, just hoping that people will send them money. This article gives a reasonable overview of the scam: Did you recently receive an email with one of your old passwords in the subject line and a request for bitcoin? It’s a new kind of scam. The sender says they have used that password to hack your computer, install malware, and record video of you through your webcam. Basically, the attackers don’t actually have video of you or access to your contacts, and they haven’t been able to install malicious code on your computer. In reality, they’re taking a password from a database that’s available online, sending it to you, and hoping you’re scared enough to believe their story and send them bitcoin. And suggestions for keeping safe: ... good ideas to keep yourself safe: use long and strong passwords, get a password manager to ensure each account has a unique password, and turn on two-factor authentication on your important accounts.
H: How to batch remove trash label By accident I got a lot of emails moved to the Trash folder. There I can see them with the "Trash" label, as well as the original label. But it seems impossible to select all mails in trash with a certain label, and then move them anywhere. Is there any way to just remove the "Trash" label from all emails, so they will only appear in their original labels? AI: You can search for all mails in trash that have a certain label like this: in:trash label:your_custom_label Once you search for them, click on the select box and select All. Then, click on the Move to Inbox button to get them out of Trash. To move them to their label (i.e. remove them from inbox), from inbox, search for the respective mails and archive them.
H: ArrayFormula for conditional consequential sum-up? I have a table which looks like this: And formula in cell B3: =IF(A3>5, B2, B2+1) and on every next row a corresponding variation of this formula. I would like to know how to create ArrayFormula variant of this formula: =IF(A3>5, B2, B2+1) spreadsheet sample here AI: =ArrayFormula({"Result";IF(A2:A="","",COUNTIFS(ROW(A2:A),"<="&ROW(A2:A),A2:A,"<=5"))})
H: Error while banning members. One or more members were not banned I moderate a Google Groups which gets a lot of spam. Messages from newcomers must be moderated before they get posted. Usually I select and allow the valid messages, then select all of the others and ban them altogether. Problem: Sometimes I get this message: Error while banning members. One or more members were not banned. Refreshing does not resolve the problem. Actually some moderators have learned to live with a broken moderation queue for months. How to empty my moderation queue when that happens? AI: Two important facts to take into account: These failures are often limited to a single message. Not being able to ban a sender does not mean that you can not delete the message. So, proceed like this: Ban in batches, for instance 5 by 5, and ignore the batches that fail When you only have a few left, ban one by one. Now you only have the ones whose ban really fails Select them all and press "Delete". These users will not be banned but at least they will not prevent you from banning the others in the future. Also, even if these few users are not banned, they are not allowed either so if they post again they will have to go through moderation, hopefully with a successful ban this time.
H: Sum all values with same month and category So I have this table where I'm writing down my daily expenses. On one cell I choose the date, the next cell I choose the category and in the third, I insert the amount of money spent. On another sheet I have another table where I want to add the values that have the same months and categories in common: One cell for "Food" in "January", another for "travel" in "January" then on another table "Food" in "February" and so on... I tried something like: =LOOKUP("Food",$E$16:$E$18,$D$16:$D$18 ) or: =IF(MONTH(B16)=1, IF(C16="Food",+D16))+ IF(MONTH(B17)=1, IF(C16="Food",+D17)) or even: =IF(ISBLANK(D2);"";SUM(FILTER($B$2:B;$A$2:A=D2))) and so on... But none of this is working as I want. Does anyone have any idea about how to go about doing this? My file: https://docs.google.com/spreadsheets/d/13R6xUhZCX-wjOPXfpiZYOgsN18oLo8QTuYJ2H4mqqos/edit?usp=sharing AI: paste this into C3 and drag down: =IFERROR(QUERY(Daily!$B:$D, "select sum(D) where C = '"&B4&"' and month(B) + 1 matches '"&MONTH(B$3&1)&"' group by C label sum(D)''", 0), 0) then copy cell C3 and paste it in G3 and drag down...
H: Picking the Total from the Next Week I have the next year mapped out (one line for each day) and have the week subtotal at the end of each week (which is a Friday). I am wanting the Next weeks subtotal to show in another cell for that week. For example, now that we have passed the 25-Jan it will then show the next subtotal (being 1-Feb), then when the 2-Feb comes the 8-Feb will show: Date Daily Count Weekly Count 21/01/19 5 22/01/19 5 23/01/19 5 24/01/19 5 25/01/19 5 25 26/01/19 1 27/01/19 1 28/01/19 29/01/19 30/01/19 31/01/19 01/02/19 2 02/02/19 Really have no idea how to do this one. AI: SOLVED Thank you to Erik Erik's response was very detailed and very helpful if I ever needed an option like this down the track, ended up using the other one due to the current format of my Sheet Ended up using the following formula as the data would be used on another sheet (that I would monitor daily as there are 59 different data sheets in the project) =SUM(QUERY(QUERY({{A2:B},{ARRAYFORMULA(IF(LEN(A2:A), WEEKNUM(A2:A, 16), ))}}, "select *", 0), "select Col2 where Col3 matches '"&WEEKNUM(TODAY(), 16)&"'", 0)) Thanks again, spent hours on this and solved in no time thanks to the aforementioned personal
H: Find out what's become of my YouTube user report A few days ago I reported a user to YouTube support. Now I can't remember what the username was, but I'd like to know what YouTube decided to do about my report. However, I can't find any menu item or link pointing to the history of my report activities or anything like that in my YouTube account. I still have the report URL in my browser history, which is like https://www.youtube.com/reportabuse?report_abuse_type=S&u=xxxxxxxxxxxxxx (with xxxxxxxxxxxxxx actually being a different code, here masked for privacy), so I assume that's some (YouTube-internal) user id: maybe I can somehow obtain the username from that and deduce what they decided to do, based on the current user existence, but I don't really know how. Anyway a real tracking of reports status would be better. AI: Viewing reported users is not available for end customers. All you can get is viewing your reported history which can be found here: https://www.youtube.com/reporthistory View your Reporting History YouTube reviews user flags to determine whether or not videos violate our Community Guidelines. Visit your Reporting History page to see the current status of videos you have flagged on YouTube: Active: videos that are either not yet reviewed or that we determined don’t violate YouTube community guidelines. Removed: videos that have been removed from YouTube. Restricted: videos that have been placed in one of several restricted states such as age-restriction or Limited Features. Some videos may also appear with the text “Information about this video isn’t available”. This could be because the video was removed by the creator, or is not available on YouTube for a reason other than your report (for example, if it is not available in your country). Flagged videos are listed in the order you flagged them, from newest to oldest. If you flag a video multiple times, it will appear only once, in order of the last time you most recently flagged it. In some instances, the video you flagged may not appear in the Reporting History page. This means that many other users have already flagged the video a significant number of times, and that we are already evaluating the video based on these previous flags. We will improve this feature in the future and all of your flags will be included in this report, regardless of how many times a video has been flagged. https://support.google.com/youtube/1 https://support.google.com/youtube/2 https://www.youtube.com/watch
H: Create random pairs without duplicates I try to randomly pair people into unique pairs. I have two columns one with helping values created via Rand() and one that ranks upon these values with =INDEX($A$2:$A$164,RANK(S2,$S$2:$S$164)) However, this results in a lot of duplicates and circles in the two pairs: Phillip - Hendrik Fran - Lucy Lucy - Phillip Hendrik - Hendrik What I want is: Phillip - Hendrik Fran - Lucy Lucy - Fran Hendrik - Phillip I could easily half the two groups but this does not seem to be the best solution and also not really random if I do it manually. Any ideas? AI: Moritz. Immediately, I notice that your range contains an odd number of items ($A$2:$A$164 contains 163 cells); so not everyone will be paired with someone. In any solution, then, in order to include all names, you'd need to make sure your range always has an even number of cells—in this case one more than there are number of people (i.e., $A$2:$A$165). Also, you'll want to be certain that your File > Spreadsheet settings > Calculation setting is set to "on change" or your list will be regenerated automatically every minute or every hour, depending on which other setting is currently selected. That said, I'm going to start from scratch, ignoring any columns you may have set up other than the names in Column A. Then you can apply this to your actual setup: Clear Column B entirely in preparation for an array formula. This will be a "helper column" which can hide later if you like. Place the following formula into B2: =ArrayFormula(QUERY({A2:A165,RANDBETWEEN(0 * ROW(A2:A165), 100000000000000)/100000000000000},"Select Col1 Order By Col2")) Place the following formula anywhere else that has two open columns side by side (say, C2, for the sake of argument): =ArrayFormula({QUERY({ROW(B2:B165)-1,B2:B165},"Select Col2 Where Col1 <= "&ROWS(B2:B165)/2),QUERY({ROW(B2:B165)-1,B2:B165},"Select Col2 Where Col1 > "&ROWS(B2:B165)/2)}) The Column B formula will provide a randomized, non-duplicating list of your names. The Column C formula will take the top half of that list and pair it with the bottom half. You can't (to my knowledge) merge this into one formula, because randomizing functions are triggered by each sub-formula within a longer formula, so you'd wind up with duplicates. By creating a single helper column with RAND(), we can refer to it with the other formula while not getting duplicates.
H: Why is Twitter showing me old Tweets much more often past few days and what can I do with it? For the last week or so, I am noticing, that about half of my Timeline is older than a day. Very often it is more than two or even more too. I am sure, that this didn't happen before. However, I didn't find any news about this change, only recent news is about original tweeter (NBC for example). What is the reason? Is there any other change? Or is it a bug? Can I turn it back in some settings? AI: Twitter has made some changes about showing top Tweets first and the latest Tweets first recently. By default it shows top Tweets first, because of that you are seeing old Tweets first on your Timeline. You need to change that setting: Open up Twitter Go to Settings and Privacy Go to Account Scroll down to Timeline Show the best Tweets first in Content section Un-check that box If you are on mobile using iOS or Android, you can change this setting by doing following: About the announcement of these changes you can follow Twitter and Twitter Support handles. Below are few status you can see: https://twitter.com/TwitterSupport/status/1041838954008391680 https://twitter.com/TwitterSupport/status/1042155714205016064 https://twitter.com/Twitter/status/1075074100412985345
H: How do you read the original question in Quora? I've grown very well accustomed to the simple setup for Q&A on Stack Exchange, and when I Google a question and get a match with a Stack Exchange website, it's great. However, Quora has grown to be a big enough website that sometimes it's (unfortunately) the only place that I can find a match to my question. As long as it answers my question, that's great. But I have one huge issue with Quora that drives me crazy: How do you read the original question posted on Quora? The answers to questions often refer to content in the original question, so it seems that there must be some way to see it. However, I can never find anything other than the bold, 7-15 word title at the top. For example this question: https://www.quora.com/What-is-the-purpose-of-MySQL-master-slave-setup ... In the answer, he starts with "No it is not only for backup.". So where do I find the question that actually mentions something about "backup"? AI: You need to login to see the details. Question details are in comments. Previously there was a feature* to add details about your question below the question. Now that feature has removed and question details has been added in the comments. Login to your Quora account, click on question. Click on comment if there is any. You will see the question details if it have. *Why were question details removed from Quora on August 3, 2017?
H: Test if value of cell is used in a formula In a google sheet I have some values that are used in formulas in other cells (until now, nothing unusual...). I would like these cells to have a special color to be aware that if I modifiy them, other cells will be modified as well. Is there a function to test if a cell's value is used elsewhere? I am looking for a simple built-in way to do this, without macros, and I just need to know wether the cell is used elsewhere or not, not by whom, or neither what it does. Thanks for your help AI: At this time there is no built-in way to find precedent/dependent cells, the only way is by using an add-on or script. Related In Google Spreadsheet, finding what formulas reference a given value How can I trace precedents in Google Sheet
H: Finding row number from value which is in between ranges I have attached a picture containing two column B and C. If my input to this table is 2.3, it should return me row number where my input value is greater than or equal to B column value and less than C column value. Manually for 2.3 it should return the first-row number of the table. Manually for 5.75 it should return the fourth-row number of the table. AI: Vignesh, having two columns is unnecessary (and actually contradictory), since the "next row" of any row in your first column is the upper limit of the preceding row, and since, as you have it now, some values appear on two rows (e.g., 3.5 is currently the upper limit of row 1 and the lower limit of row 2). You only need your first column. If that column's data started in B5, and if the value you want to match were typed into B1, the following formula (placed anywhere other than underneath the data column) would give you the row you want: =IFERROR(MATCH(B1,B5:B,1),"UNDER RANGE")
H: What is the use of "Undo" in Gmail notification? In Gmail, I send a email then I receive a pop up at left bottom corner: What is the use of "Undo" option in this pop up? AI: From a Google answers question: Recall an email with Undo Send If you decide you don't want to send an email, you have a short time after to cancel it. Right after you send a message, you can retract it. and Choose an amount of time to recall a message On your computer, go to Gmail. In the top right, click Settings and again Settings. Next to "Undo Send," select a Send cancellation period of 5, 10, 20, or 30 seconds. Google keeps the mails on its servers for the time you specify here. That's how they can actually implement this: they don't immediately send your mail. The default (and minimum) time is 5 seconds. The mail does not get deleted, you can e.g. edit it and resend. Note: there are people claiming that in the case of sending mail to another Gmail account, the message is send immediately, because Google "can remove the message from the recipient's inbox." I have not yet seen proof of that, and I doubt it is true, because it would raise privacy issues.
H: VLOOKUP is not finding text value on other sheet See this example spreadsheet. I get #N/A value when I try to find bbb on sheet2 using formula =VLOOKUP(A1;sheet2!$A$1:$B$4;1;FALSE) How to fix it? AI: VLOOKUP is able to look for something only if that something is in the first column of the lookup. In your case is bbb in the second column of the range A1:B4 you looking for. Fix is: switch A column with B column on your sheet2 exclude A column from range: =VLOOKUP(A1; sheet2!B1:B; 1; 0) use: =VLOOKUP(A1; {sheet2!B1:B\sheet2!A1:B}; 1; 0)
H: Automatically (protect or update or retain) a cell's formula when a row is added from "Zapier and Twilio" When a row is added in this case from a (Zapier into a Google sheet, the formula in a cell not used by the incoming data is deleted. How can I retain/protect the original formula in column AE being =IF( $Y:$Y ,,$C:$C) or automatically update it from the previous row, when the zap inserts a new row? AI: You need to drop your IF formula ( =IF( $Y:$Y ,,$C:$C) ) and use ARRAYFORMULA variant: ={"arrayformula here"; ARRAYFORMULA(IF($Y2:$Y, , $C2:$C))}
H: Google Sheets Query with Date and Time I need help with a query. I need to filter on some Google Form data and only show the results that have been submitted AFTER a specific timestamp. Timestamp Cell = J2 - This cell is in the following format mm/dd/yyyy hh:mm:ss Day Query - This one seems to work ok but its only at the day level. =query(FormResponses!A2:G,"Select * Where A > date '"&text(J2,"YYYY-mm-dd") & "'" ) Time of Day Query - This one also seems to work ok but only at the time level. =query(FormResponses!A2:G,"Select * Where A > timeofday'" & text(J2, "HH:mm:ss") & "'" ) When I try to combine the two, it returns no results and I can not figure out why. I do see some wierd issues with the ">" in the queries above so i am second guessing the accuracy of the above queries to begin with. Does anyone have a sample of checking both date and time in a google sheets query? AI: =ARRAYFORMULA(VLOOKUP(TO_DATE(QUERY(VALUE(QUERY(FormResponses!A2:A, "select *", 0)), "select Col1 where Col1 > "&VALUE(J2), 0)), {VALUE(FormResponses!A2:A), FormResponses!B2:G}, {1, 2, 3, 4, 5, 6, 7}, 0))
H: 4 IF AND Statements in one cell Trying to get two equations to then present one of four options. Example: Have no idea where to start, all four need to sit in the one cell. AI: =IF(AND(O34 > O33; Q34 > Q33); Z28; IF(AND(O34 < O33; Q34 > Q33); Z29; IF(AND(O34 > O33; Q34 < Q33); Z30; IF(AND(O34 < O33; Q34 > Q33); Z31; )))) If you want to include equality add = behind >< like: <= or >=. For inequality use: <>. Also, AND can be changed to OR if you need such logic.
H: Google Sheets issue with literal constants in functions When attempting to use any literal strings in formulas I get a Formula parse error and #ERROR! in the column with the formula. For example: =IF(D43=“x”,MULTIPLY(E42,2)). I’ve been told that there is something wrong with the quote marks around the literal string ‘x’. I am using an iPad keyboard. Any ideas? AI: On Apple devices, to get the CHAR(34) quote (i.e., "straight quote"), hold down the double-quote key on the keyboard. An alternatives popup will appear above. Slide your finger up into the alt menu and choose the straight quotes (usually far right).
H: MediaFire Data Retention? There Data Retention Policy Is Below- https://www.mediafire.com/policies/data_retention.php#data_retention_table Can someone read this information from the link and inform me what it means when they state "These are short term logs of who accessed and downloaded content from whom’s account. We keep this for the minimum amount of time necessary to ensure resumable downloads etc". Does this mean IP logs, account names, emails, etc? The description is quite vague. However, someone more experienced may know. I would like to know if it’s ok to download those games and movies we all love without being sent a warning by DMCA. I don’t know if this is the right place to post this question. If not, please redirect me to the right forum. Thank you AI: The webpage says: MediaFire takes your privacy seriously and is not in the business of tracking you; we are in the business of helping you store, share, and access your data. Note #1 says a log file is retained for 3 hours and note #2 says that the information necessary to allow downloads to be resumed is retained in memory for 72 hours. ... without being sent a warning by DMCA ... Theoretically, they could see the file that they object to has been uploaded, go to court and obtain a warrant to seize the log files and obtain a 3-hour long list of downloaders. So yes, it's possible just unlikely. It's more likely, and useful, to go after the uploader or complain that the website doesn't check all it's uploads, but that's what a takedown request is for. A large website can't watch everything and there are no simple means to catch everything. YouTube has a system in place where content creators can upload samples which are then tested against uploads. On YouTube, you get a "strike" for a match, three strikes and you'll be banned from uploading for a period of time. It is also possible to dispute the complaint, I've done that a few times and been successful since the matching algorithms are not perfect and the other party makes mistakes sometimes; I make certain that I don't make such a mistake and get banned.
H: Why did my earnings report change after two month? As you can see, there's a big difference between the two reports. In the month of Nov, the report showed the right amount but now the report is changed! What's going on? First report: Second report: AI: After asking Youtube community, They said: It's a glitch, and is being worked on I hope they can solve it asap as the glitch is still going on. The earnings in the report dropped again from around $10 to $6. Here's the screenshot: Even if the earnings are (Estimated) they should roughly reflect the real values or it's better not to provide us with a report than providing us with a misleading one. Reference: https://support.google.com/youtube/thread/1409053?hl=en
H: How can I see my albums on Imgur, now that the link to "Album" is removed? On Jan. 30 2019, I noticed that the "Album" link disappeared, as in the right screenshot beneath. The one on the left is from Imgur.com. Anyone know why? How can I see my albums then? I can see my pictures, but not in their albums. AI: albums are now in joined view with images click on your username select Images click on All Images and select an album you wish to view more confusion can be found here
H: Is it possible to create shareable links in G Suite Drive? I am deciding if I should get G Suite or not. I need to share public files with everyone. Is it possible to create shareable links in G Suite Drive, just like the ones you create in Google Drive for personal use? AI: Google Drive for G Suite has the same features that Google Drive for consumers / Google common accounts but it extend several of them including settings and special features for organization administrators.
H: Show a Running Target Based on Today I'm creating a running target from a quarterly Total divided by known trading days Current formula in I4 is =IF(H3<>"",I3+O$30,"") H3 = Yesterday's Sales Numbers I3 = Yesterdays Running Target O30 = Required Daily Run Rate Column C is a Date Column I want the running target to show in I4 when it is Today (currently it shows a day in advance, so showing today the 2-Feb) AI: alternative aproach: =IF(AND(C4 < TODAY()+1, H3<>""), I3+O$30, )
H: Finding closest value within a range of cells spread across the rows Attached the Google Drive link and we have to refer to scenario 2 sheet of the spreadsheet. https://drive.google.com/drive/folders/1HKePsd4SPSNdPujnwKLvq2i8xeg5sQgy Here some value is given in rows and we need to find the closest value from this range of cells in a row. Input is also given in the sheet and it is very much related to Scenario 1 sheet given in the link where given values are arranged in a column. Scenario 2 sheet contains the values arranged in rows instead of columns. So we need to find the closest value for the given input and also column number of that row which matches with the input value. AI: I have set up a new sheet ("Erik Help") with variations on these two formulas (these from B8 and B9 respectively), which are a hybrid of MARK's, sageco's and my own formulas: =IF(((B7<F1)*(B7>AH1))+(B7>MAX(F1:1))+(B7<MIN(F1:1))>0,-1,ARRAY_CONSTRAIN( SORT(ArrayFormula({TRANSPOSE(F1:1),ABS(TRANSPOSE(F1:1)-B7)}),2,1),1,1)) =IF(B8=-1,-1,MATCH(B8,A1:1,0)) These hybrid formulas seem to cover all of your constraints.